WO2022267045A1 - 页面获取方法、移动终端及存储介质 - Google Patents

页面获取方法、移动终端及存储介质 Download PDF

Info

Publication number
WO2022267045A1
WO2022267045A1 PCT/CN2021/102513 CN2021102513W WO2022267045A1 WO 2022267045 A1 WO2022267045 A1 WO 2022267045A1 CN 2021102513 W CN2021102513 W CN 2021102513W WO 2022267045 A1 WO2022267045 A1 WO 2022267045A1
Authority
WO
WIPO (PCT)
Prior art keywords
page
screen capture
specific
mode
target
Prior art date
Application number
PCT/CN2021/102513
Other languages
English (en)
French (fr)
Inventor
唐佳珮
Original Assignee
深圳传音控股股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳传音控股股份有限公司 filed Critical 深圳传音控股股份有限公司
Priority to PCT/CN2021/102513 priority Critical patent/WO2022267045A1/zh
Priority to CN202180097780.4A priority patent/CN117280311A/zh
Publication of WO2022267045A1 publication Critical patent/WO2022267045A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Definitions

  • the current terminal device is not convenient enough to start the specific screen capture function for pages that support specific screen capture, and it relies on ordinary screen capture operations. If it is activated, the specific screen capture function may not be triggered, which will affect the use effect of the specific screen capture function.
  • the present application provides a page acquisition method, a mobile terminal and a storage medium, which can intelligently activate the screen capture function and improve the convenience of the screen capture function operation.
  • this application provides a page acquisition method, which is applied to mobile terminals, including:
  • the browsing page is intercepted to obtain the target page.
  • the page parameter may be page length or page width.
  • determining the screen capture mode according to 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 the first preset page parameter, then determining that the screen capture mode is a normal screen capture mode; and/ Or, if the page parameter of the browsed page is greater than the first preset page parameter, it is determined that the screen capture mode is a specific screen capture mode.
  • the specific screenshot mode may be a long screenshot mode, or a wide screenshot mode, or the like.
  • intercepting the browsing page according to the screen capture mode to obtain the target page includes: when the determined screen capture mode is the normal screen capture mode, performing page capture on the currently displayed page of the browse page according to the normal screen capture mode to obtain the target page.
  • intercepting the browsing page according to the screen capture mode to obtain the target page includes: when the determined screen capture mode is a specific screen capture mode, performing page capture on the browse page according to the specific screen capture mode; when a page capture stop instruction is detected , and determine the currently intercepted page for the browsing page as the target page.
  • the page acquisition method further includes: splitting the target page according to second preset page parameters to obtain at least two split pages.
  • the page acquisition method further includes: selecting a target split page from at least two split pages in response to the split page selection instruction; and/or, responding to the split page processing instruction, selecting the target split page Handle accordingly.
  • This application provides a page acquisition method applied to mobile terminals, including:
  • the screen capture mode is a specific screen capture mode
  • the target page is obtained based on the browsed page.
  • the page parameter may be page length or page width.
  • the specific screenshot mode may be a long screenshot mode, or a wide screenshot mode, or the like.
  • the target page is obtained based on the browsed page, including:
  • the common screen capture prompt information is output; if a trigger operation for the common screen capture prompt information is detected, the screen capture process is performed on the currently displayed page of the browse page to obtain the target page.
  • the target page is obtained based on the browsed page, including:
  • Screenshot the browsing page according to the specific screen capture mode in the process of capturing the browse page according to the specific screen capture mode, if a common screen capture command is detected, a screen capture process is performed on a displayed page during the page capture process to obtain the target page .
  • the page acquisition method further includes any of the following: during the process of intercepting the browsing page according to a specific screen capture mode, outputting common screen capture prompt information, if a trigger operation for the common screen capture prompt information is detected, then determine A common screen capture instruction is detected; or, in the process of capturing the browsing page according to a specific screen capture mode, if a normal screen capture gesture operation or a common screen capture voice command is detected, it is determined that a normal screen capture command has been detected.
  • obtaining the target page based on the browse page includes: performing page capture on the browse page according to the specific screen capture mode; For a specific page; process the specific page to get the target page.
  • the specific page may be a long page, or a wide page, etc.
  • processing the specific page to obtain the target page includes: outputting common screenshot prompt information in the processing interface corresponding to the specific page; Perform interception processing to obtain the target page.
  • processing the specific page to obtain the target page includes: outputting a page selection box; responding to the page movement instruction, performing movement processing on the specific page; responding to the page determination instruction, obtaining the page currently included in the page selection box , and use the fetched page as the target page.
  • This application provides a page acquisition device, including:
  • a determination module configured to determine a screenshot mode according to page parameters of the browsed page in response to the page acquisition instruction
  • This application provides another page acquisition device, including:
  • An acquisition module configured to acquire page parameters of the browsed page in response to the page acquisition instruction
  • a determination module configured to determine that the screen capture mode is a specific screen capture mode if the page parameter of the browsed page is greater than the preset page parameter
  • the obtaining module is also used to obtain the target page based on the browsed page in a specific screen capture mode.
  • the present application also provides a mobile terminal, including: a memory and a processor, wherein a page acquisition program is stored in the memory, and when the page acquisition program is executed by the processor, the steps of the above method are implemented.
  • the present application also provides a computer storage medium, where a computer program is stored in the computer storage medium, and when the computer program is executed by a processor, the steps of the above method are realized.
  • the page acquisition method of the present application is applied to a mobile terminal.
  • the screenshot mode can be determined in one step according to the page parameters of the browsed page, and then the page is intercepted according to the screenshot mode to obtain the target page.
  • This solution It can make the process of determining the screen capture mode more automatic and intelligent, and it is more convenient to start the screen capture function, thereby further improving the efficiency of the user's use of the screen capture function; the pages obtained in a specific screen capture mode can also be split.
  • FIG. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present application
  • FIG. 2 is a system architecture diagram of a communication network provided by an embodiment of the present application.
  • Fig. 3 is a schematic flowchart of a page acquisition method according to the first embodiment
  • Fig. 4a is a schematic diagram of an interface of a partial page of a browsing page according to the page acquisition method shown in the first embodiment
  • Fig. 4b is a schematic diagram of the interface of some pages displayed by sliding down the browsing page according to the page acquisition method shown in the first embodiment
  • Fig. 5 is a schematic flowchart of a page acquisition method according to a second embodiment
  • Fig. 6 is a schematic diagram of a gesture for triggering a page acquisition instruction according to the page acquisition method shown in the second embodiment
  • Fig. 7 is a schematic diagram of an interface for capturing and browsing pages according to the page acquisition method shown in the second embodiment
  • Fig. 8 is a schematic diagram of an interface of a specific screenshot browsing page according to the page acquisition method shown in the second embodiment
  • Fig. 10 is a schematic diagram of a processing interface of a specific screenshot page according to the page acquisition method shown in the second embodiment
  • Fig. 11a is a schematic diagram of a page splitting processing interface according to the page acquisition method shown in the second embodiment
  • Fig. 11b is a schematic diagram of an interface in which all split pages are selected according to the page acquisition method shown in the second embodiment
  • Fig. 12 is a schematic flowchart of a page acquisition method according to a third embodiment
  • Fig. 13 is a schematic flowchart of a page acquisition method according to the fourth embodiment
  • Fig. 14 is a schematic diagram of an interface of a general screen capture prompt information according to the page acquisition method shown in the fourth embodiment
  • Fig. 15 is a schematic flowchart of a page acquisition method according to a fifth embodiment
  • Fig. 17 is a schematic interface diagram of a common screen capture by button operation during a specific screen capture process of the page acquisition method shown in the fifth embodiment
  • Fig. 18 is a schematic flowchart of a page acquisition method according to the sixth embodiment.
  • Fig. 19 is a schematic interface diagram of a specific page processing operation of a page acquisition method according to the sixth embodiment.
  • Fig. 20 is a schematic diagram of an interface for processing a specific page according to a page acquisition method according to the sixth embodiment
  • Fig. 21 shows a schematic structural diagram of a page acquisition module according to the seventh embodiment
  • Fig. 22 shows a schematic structural diagram of a page acquisition module according to the eighth embodiment.
  • first, second, third, etc. may be used herein to describe various information, the information should not be limited to these terms. These terms are only used 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 called second information, and similarly, second information may also be called first information.
  • first information may also be called second information, and similarly, second information may also be called first information.
  • second information may also be called first information.
  • the word “if” as used herein may be interpreted as “at” or “when” or “in response to a determination”.
  • the singular forms "a”, “an” and “the” are intended to include the plural forms as well, unless the context indicates otherwise.
  • A, B, C means “any of the following: A; B; C; A and B; A and C; B and C; A and B and C
  • A, B or C or "A, B and/or C” means "any of the following: A; B; C; A and B; A and C; B and C; A and B and C”. Exceptions to this definition will only arise when combinations of elements, functions, steps or operations are inherently mutually exclusive in some way.
  • the words “if”, “if” as used herein may be interpreted as “at” or “when” or “in response to determining” or “in response to detecting”.
  • the phrases “if determined” or “if detected (the stated condition or event)” could be interpreted as “when determined” or “in response to the determination” or “when detected (the stated condition or event) )” or “in response to detection of (a stated condition or event)”.
  • step codes such as S301 and S302 are used, the purpose of which is to express the corresponding content more clearly and concisely, and does not constitute a substantive limitation on the order.
  • S302 will be executed first, followed by S301, etc., but these should be within the scope of protection of this application.
  • Mobile terminals may be implemented in various forms.
  • the mobile terminals described in this application may include mobile phones, tablet computers, notebook computers, palmtop computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, Mobile terminals such as wearable devices, smart bracelets, and pedometers, and fixed terminals such as digital TVs and desktop computers.
  • PDA Personal Digital Assistant
  • PMP portable media players
  • Navigation devices Mobile terminals such as wearable devices, smart bracelets, and pedometers
  • Mobile terminals such as wearable devices, smart bracelets, and pedometers
  • fixed terminals such as digital TVs and desktop computers.
  • a mobile terminal will be taken as an example, and those skilled in the art will understand that, in addition to elements specially used for mobile purposes, the configurations according to the embodiments of the present application can also be applied to fixed-type terminals.
  • FIG. 1 is a schematic diagram of the hardware structure of a mobile terminal implementing various embodiments of the present application.
  • the mobile terminal 100 may include: an RF (Radio Frequency, radio frequency) unit 101, a WiFi module 102, an audio output unit 103, an A /V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111 and other components.
  • RF Radio Frequency, radio frequency
  • the radio frequency unit 101 can be used for sending and receiving information or receiving and sending signals during a call. Specifically, after receiving the downlink information of the base station, it is processed by the processor 110; in addition, the uplink data is sent to the base station.
  • 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, a duplexer, and the like.
  • the radio frequency unit 101 can also communicate with the network and other devices through wireless communication.
  • the above wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, Global System for Mobile Communications), GPRS (General Packet Radio Service, General Packet Radio Service), CDMA2000 (Code Division Multiple Access 2000 , Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, Time Division Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long-term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time-division duplex long-term evolution), etc.
  • GSM Global System of Mobile communication, Global System for Mobile Communications
  • 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, Time Division Synchronous Code Division
  • WiFi is a short-distance wireless transmission technology.
  • the mobile terminal can help users send and receive emails, browse web pages, and access streaming media through the WiFi module 102, which provides users with wireless broadband Internet access.
  • Fig. 1 shows the WiFi module 102, it can be understood that it is not an essential component of the mobile terminal, and can be completely omitted as required without changing the essence of the invention.
  • the audio output unit 103 can store the audio received by the radio frequency unit 101 or the WiFi module 102 or in the memory 109 when the mobile terminal 100 is in a call signal receiving mode, a call mode, a recording mode, a voice recognition mode, a broadcast receiving mode, or the like.
  • the audio data is converted into an audio signal and output as sound.
  • the audio output unit 103 can also provide audio output related to a specific function performed by the mobile terminal 100 (eg, call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 may include a speaker, a buzzer, and the like.
  • 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 (Graphics Processing Unit, GPU) 1041 and a microphone 1042, and the graphics processing unit 1041 is used for still pictures or The image data of the video is processed.
  • the processed image frames may be displayed on the display unit 106 .
  • the image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage media) or sent via the radio frequency unit 101 or the WiFi module 102 .
  • the microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like operating modes, and can process such sound as audio data.
  • the processed audio (voice) data can be converted into a format transmittable to a mobile communication base station via the radio frequency unit 101 for output in case of a phone call mode.
  • the microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the process of receiving and transmitting audio signals.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone posture (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for mobile phones, fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, Other sensors such as thermometers and infrared sensors will not be described in detail here.
  • 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, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
  • LCD Liquid Crystal Display
  • OLED Organic Light-Emitting Diode
  • the user input unit 107 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile terminal.
  • the user input unit 107 may include a touch panel 1071 and other input devices 1072 .
  • the touch panel 1071 also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 1071 or near the touch panel 1071). operation), and drive the corresponding connection device according to the preset program.
  • the touch panel 1071 may include two parts, a touch detection device and a touch controller.
  • the touch panel 1071 may cover the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it transmits to the processor 110 to determine the type of the touch event, and then the processor 110 determines the touch event according to the touch event.
  • the corresponding visual output is provided on the display panel 1061 .
  • the touch panel 1071 and the display panel 1061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 can be integrated.
  • the implementation of the input and output functions of the mobile terminal is not specifically limited here.
  • the interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100 .
  • an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more.
  • the interface unit 108 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
  • the memory 109 can be used to store software programs as well as various data.
  • the memory 109 can mainly include a storage program area and a storage data area.
  • the storage program area can store an operating system, at least one function required application program (such as a sound playback function, an image playback function, etc.) etc.
  • the storage data area can be Store data (such as audio data, phone book, etc.) created according to the use of the mobile phone.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
  • the processor 110 is the control center of the mobile terminal, and uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 109, and calling data stored in the memory 109 , execute various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole.
  • the processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor and a modem processor.
  • the application processor mainly processes operating systems, user interfaces, and application programs, etc.
  • the demodulation processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110 .
  • the mobile terminal 100 can also include a power supply 111 (such as a battery) for supplying power to various components.
  • a power supply 111 (such as a battery) for supplying power to various components.
  • the power supply 111 can be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.
  • the mobile terminal 100 may also include a Bluetooth module, etc., which will not be repeated here.
  • the following describes the communication network system on which the mobile terminal of the present application is based.
  • Fig. 2 is a kind of communication network system architecture diagram that the embodiment of the present application provides, and this communication network system is the LTE system of general mobile communication technology, and this LTE system includes the UE (User Equipment, user equipment) that communication connects sequentially ) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, Evolved UMTS Terrestrial Radio Access Network) 202, EPC (Evolved Packet Core, Evolved Packet Core Network) 203 and the operator's IP service 204.
  • UE User Equipment, user equipment
  • E-UTRAN Evolved UMTS Terrestrial Radio Access Network
  • EPC Evolved Packet Core, Evolved Packet Core Network
  • the UE 201 may be the above-mentioned terminal 100, which will not be repeated here.
  • E-UTRAN 202 includes eNodeB 2021 and other eNodeB 2022 and so on.
  • the eNodeB 2021 can be connected to other eNodeB 2022 through a backhaul (for example, X2 interface), the eNodeB 2021 is connected to the EPC 203 , and the eNodeB 2021 can provide access from the UE 201 to the EPC 203 .
  • a backhaul for example, X2 interface
  • EPC203 may include MME (Mobility Management Entity, Mobility Management Entity) 2031, HSS (Home Subscriber Server, Home Subscriber Server) 2032, other MME2033, SGW (Serving Gate Way, Serving Gateway) 2034, PGW (PDN Gate Way, packet data Network Gateway) 2035 and PCRF (Policy and Charging Rules Function, Policy and Charging Functional Entity) 2036, etc.
  • MME2031 is a control node that processes signaling between UE201 and EPC203, and provides bearer and connection management.
  • HSS2032 is used to provide some registers to manage functions such as home location register (not shown in the figure), and save some user-specific information about service features and data rates.
  • the IP service 204 may include Internet, Intranet, IMS (IP Multimedia Subsystem, IP Multimedia Subsystem) or other IP services.
  • IMS IP Multimedia Subsystem, IP Multimedia Subsystem
  • LTE system is used as an example above, those skilled in the art should know that this application is not only applicable to the LTE system, but also applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA and future new wireless communication systems.
  • the network system, etc. are not limited here.
  • FIG. 3 is a schematic flowchart of a page acquisition method according to the first embodiment.
  • the execution subject in this embodiment may be a computer device or a cluster composed of multiple computer devices. It may be a terminal device (such as the aforementioned mobile terminal 100 ), or may be a server. Here, the execution subject in this embodiment is the terminal device as an example for description.
  • the method at least includes the following steps S301-S302:
  • S301 in response to a page acquisition instruction, determine a screen capture mode according to page parameters of the browsed page.
  • the page acquisition instruction may be an instruction triggered by the user in the terminal device according to a specified trigger method, for example, it may include touch screen interaction, voice interaction, motion sensing interaction (somatosensory technology), visual interaction and other interactive methods
  • Triggering optionally, the touch screen interaction can be, for example, triggering a page acquisition instruction through a specific gesture, including but not limited to single click, double click, long press, drawing a preset graphic, multi-finger slide, etc.
  • the user can also trigger the page acquisition instruction through physical keys, buttons, etc., and the specific triggering method of the page acquisition instruction in the terminal device is not limited here.
  • the terminal device After receiving the page acquisition instruction triggered by the user, the terminal device will respond to the page acquisition instruction, and then determine which screen capture mode is specific according to the length of the browsed page.
  • the browsing page can be a page of any length currently displayed on the display screen of the terminal device (the following "screen” has the same meaning), and its corresponding page parameters (in this embodiment, take the page length as an example) can be It is a page parameter that is larger than what the display screen can display to the user. That is to say, the browsing page cannot display all the content to the user on one screen. It may be necessary to slide up and down to further display the relative current of the browsing page.
  • FIG. 4a is a schematic diagram of an interface of a partial page of a browsing page provided by this embodiment. As shown in FIG. The content shown in 4a is only a part of the interface of the setting function, and the remaining content can be regarded as hidden at the bottom of the screen.
  • the hidden content at the bottom of the screen can be displayed, which is initially displayed in the figure
  • the page at the top of the screen shown in 4a will be hidden, as shown in Figure 4b, which is part of the browsing page displayed after sliding down, including application management, battery, and privacy permissions, which were not displayed on the screen before , while the search bar and other information on the screen shown in Figure 4a are currently not displayed on the screen.
  • the page parameters of the browsing page can also be less than or equal to the page parameters of the page where the content that the display screen can display to the user is located, that is, all the content of the browsing page can be displayed on the screen at one time, such as the desktop of a smart phone It can be used as a browsing page or a photo can also be used as a browsing page, and the content and page parameters of the browsing page are not limited here.
  • the screen capture mode is a screen capture method of the terminal device, which can provide users with corresponding screen capture functions, including conventional screen capture (that is, to capture a screenshot of the content currently displayed on the screen to obtain a picture) and specific screen capture (that is, to capture a picture currently displayed on the The content of the page on the screen and the content of the page displayed on the screen by sliding up and down or sliding left and right to obtain a picture), the specific types included in the screen capture mode are not limited here.
  • an optional implementation of determining the screen capture mode according to 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 the first preset page parameter, then determining the screen capture mode is Ordinary screen capture mode; and/or, if the page parameter of the browsed page is greater than the first preset page parameter, then determine the screen capture mode as a specific screen capture mode (in this embodiment, take the long screen capture mode as an example).
  • the length of the first preset page may be the length of the page that can be displayed on the display screen of the terminal device, or may be a page parameter independently set by the user, or may be other default page parameters of the terminal device, here No limit.
  • the first preset page parameter is the page parameter that can be displayed on the terminal display screen as an example.
  • the terminal device receives and responds to the page acquisition instruction, it first obtains the page parameters of the browsed page, and then The page parameters are judged, that is, the page parameters of the browsed page are compared with the first preset page parameters, and then the screen capture mode is determined.
  • the judgment rule is as follows: if the page parameter of the browsed page is less than or equal to the first preset page parameter, that is, the display screen of the terminal can display all the content of the browsed page to the user at one time, then you can choose to take a normal screenshot Mode, that is, the conventional screen capture; if the page parameters of the browsing page are greater than the first preset page parameters, that is to say, the content of the browsing page cannot be displayed to the user at one time on the terminal display screen, but requires the user to perform corresponding operations. Only by pulling down, sliding up, etc. can you browse all the content included in the browsing page. If the user wants to share the content of the browsing page with others at one time, you can use a specific screenshot mode, because in this case, the specific screenshot Compared with the normal screenshot mode, mode is a simpler and faster preferred way to capture screenshots.
  • the screen capture mode here can be the screen capture mode determined according to the browsing page parameters in the previous step.
  • the corresponding screen capture modes and specific processes are different under different screen capture modes, and the browsing page is processed according to the corresponding screen capture mode.
  • the page parameters and page content of the obtained target page are also different.
  • the browsing page is a product purchase page of a shopping website, including the content of four modules: product, evaluation, details, and recommendation
  • the page currently displayed on the terminal device is a product module, including a picture of the product, a product name and some Brief product information (such as color, texture, place of origin, safeguards, etc.), but the browsing page also includes modules such as evaluation, details, and recommendations, which are not currently displayed on the screen of the terminal device.
  • the obtained target page includes the content currently displayed on the screen of the terminal device, that is, the content of the product module.
  • the content on the screen of the device also includes the content of the browsing page that is not currently displayed on the screen of the terminal device, that is, the page content of the target page includes product, evaluation, details, and recommendation modules.
  • an optional implementation of this step includes: when the determined screen capture mode is the normal screen capture mode, performing page capture on the currently displayed page of the browsing page according to the normal screen capture mode to obtain the target page.
  • Ordinary screen capture mode is a conventional screen capture.
  • the page currently displayed on the screen of the terminal device is captured, that is, the currently displayed page.
  • the partial display page of the browsing page shown in Figure 4a can also be regarded as is the currently displayed page of the browsing page.
  • the rules for determining the screen capture mode can refer to the content mentioned in the preceding steps, such as determining by judging the page parameters of the browsing page and the first preset page parameters. Under this rule, the normal screen capture mode corresponds to browsing The page parameter of the page is smaller than the first preset page parameter.
  • the currently displayed page of the browsing page is the content of the browsing page itself
  • the method of intercepting the page can be screenshot processing
  • the final target page is the browsing page.
  • the result of page interception in screenshot mode is displayed in the form of pictures, and the content displayed on the screen of the terminal device will be intercepted to the same page. middle.
  • the picture not only includes the browsing page, but may also include other content displayed on the screen of the terminal device.
  • the picture also includes graphic indicators such as battery power and signal.
  • the screen capture method provided by this embodiment is more convenient and can effectively To avoid the disadvantage that the specific screen capture function cannot be triggered when the user performs an improper operation on the common screen capture.
  • the embodiment of the present application has at least the following advantages:
  • the screen capture mode By responding to the page acquisition instruction, judging the page parameters of the browsing page, such as comparing the browsing page parameters with the first preset page parameters, the screen capture mode can be directly and intelligently determined, including the common screen capture mode and a specific screen capture mode, especially for pages that support specific screen capture, the screen capture mode can be quickly determined and the specific screen capture function can be activated.
  • the solution provided in this embodiment can make the start of the specific screen capture function more independent, thereby effectively avoiding the need to rely on ordinary screen capture for specific screen capture, and the specific screen capture operation can be completed in one step throughout the entire process, which is faster and more convenient, thereby improving the startup of the screen capture function. Intelligent and convenient, as well as the efficiency of using the screen capture function.
  • FIG. 5 is a schematic flowchart of a page acquisition method according to the second embodiment.
  • the execution subject in this embodiment may be a computer device or a cluster of multiple computer devices.
  • the computer device may It may be a terminal device (such as the aforementioned mobile terminal 100 ), or may be a server.
  • the execution subject in this embodiment is the terminal device as an example for description.
  • the method at least includes the following steps S501-S503:
  • S501 in response to a page acquisition instruction, determine a screen capture mode according to page parameters of the browsed page.
  • the page acquisition instruction can be triggered according to a specific gesture or a physical button or button.
  • FIG. 6 is a schematic diagram of a gesture triggering a page acquisition instruction provided in this embodiment.
  • FIG. Swipe down with multiple fingers to trigger a page acquisition command to acquire related parameters, such as page parameters (take the page length as an example in this embodiment), etc., and then execute the subsequent screen capture function.
  • page parameters take the page length as an example in this embodiment
  • the subsequent screen capture function For other content, such as the optional steps of determining the screen capture mode, refer to step S301 in the embodiment corresponding to FIG. 3 , and details are not repeated here.
  • the screenshot mode can be determined according to the comparison between the page parameters of the browsing page and the first preset page parameters mentioned in the first embodiment.
  • the terminal device After the specific screen capture mode (in this embodiment, take the long screen capture mode as an example) is determined, the terminal device will automatically start the specific screen capture function, and perform page capture on the browsing page in a corresponding manner.
  • the determined screen capture mode is In the case of a specific screen capture mode, scrolling screen capture processing is performed on the browsing page according to the specific screen capture mode. That is, the terminal device can automatically scroll and display the browsing page for page capture, and display the words "screen capture" at the top of the screen to indicate that the page capture is in progress.
  • manual screen capture processing is performed on the browsing page according to the specific screen capture mode.
  • the manual screenshot processing here means that the user needs to manually operate, slide the browsing page, you can pull down the page to hide part of the content of the browsing page at the top of the screen and display it on the screen, or you can slide the page up to display the page content hidden at the bottom of the screen, so as to Swipe the page displayed on the screen to take a screenshot.
  • the page capture of the browsed page may be capturing the target content of the browsed page, where the target content is useful information for the user.
  • the display screen of a personal computer displays the content of a certain webpage, in addition, there are also the address bar of the webpage and other information, but users often need the content specifically introduced in the webpage of valuable information, this When using a specific screen capture, you can simply capture and process the content of the web page, and you don't need the address bar or other information.
  • What content and/or options are specifically captured can be set by the user, or automatically determined or generated based on usage habits or big data analysis.
  • Figure 7 it is a schematic diagram of an interface for capturing and browsing pages provided by this embodiment. In this interface, the user clicks the capture option to obtain the page content that is different from the screen capture. In the page capture results, only the content of the web page is included. Information, so that when obtaining valuable information for users, the captured screenshot content can be made purer.
  • the page interception stop instruction may be triggered by the user through gestures, voice, etc., or may be triggered by the user by clicking a stop button in the terminal device, such as the button "end specific screenshot", or a physical button. , it can also be triggered actively by the terminal when the browsing page reaches the bottom of the page.
  • the specific triggering method of the page interception stop instruction is not limited here. After the terminal device detects the page interception stop instruction, it responds to the page interception stop instruction to stop the interception processing of the browsing page, that is, to stop the specific screen capture, and to use the page captured before the current moment as the target page.
  • the target page can also be called a specific page, and its page parameters are larger than the display screen length of the terminal device, but may be smaller than or equal to the page parameters of the browsing page, because during the specific screen capture process, the user can click "End specific screen capture” button to terminate the interception of the browsing page, the page parameter of the target page obtained at this time is smaller than the page parameter of the browsing page, and the page content of the target page is part of the browsing page.
  • FIG. 8 it is a schematic diagram of an interface of a specific screenshot browsing page provided in this embodiment.
  • the page includes a button of "End Specific Screenshot". When the page scrolls to half of the remaining pages, the user clicks the "End Specific Screen Capture” button, and the terminal device detects the page capture stop command, it will stop scrolling the browsing page, and then determine the page captured before the current moment as the target page.
  • FIG. 9 is a schematic diagram of an interface scrolling to the bottom of the page provided by this embodiment.
  • the browsing page is a page of setting functions in the terminal device, and a specific screenshot is taken of the page. Scroll all the way to the bottom of the page, and a prompt message of "reached the bottom of the page" will be displayed. This prompt message can trigger the page interception stop command. After the terminal responds to the page interception stop command, the browsed page can be determined as the content in the target page. .
  • the page parameter of the target page is greater than the page parameter of the page that can be displayed on the display screen, and the page parameter of the page that can be displayed on the display screen is used as the second preset page parameter, and the target page is split and processed to obtain In the at least two split pages, the page parameter of each split page is less than or equal to the second preset page parameter.
  • the target page can be split into k pages of length a, that is, k split pages, where k is a positive integer greater than 1, that is, the value of k is 2, 3, . . .
  • the target page can be split into k pages with a length of a and a page with a length of a, that is, k+1 A split page, where 0 ⁇ c ⁇ a, k is a positive integer, that is, the value of k is 1, 2, ....
  • the step of splitting the target page may be executed according to the split command triggered by the user selecting the page split option, or may be automatically started after the terminal device obtains the target page, which is not limited.
  • FIG. 10 is a schematic diagram of a processing interface of a specific screenshot page provided in the embodiment of the present application, including sharing, editing, and splitting a specific page.
  • the user can trigger the split command by clicking "Split Specific Page", and the terminal device can respond to the split command to split the specific screenshot page to obtain the split page, that is, the split page.
  • Figure 11a it is a schematic diagram of a split page processing interface provided by this embodiment.
  • each split page can be independently selected and processed by the user, and the user selects the radio check box such as 1102, indicating that the corresponding split page Select individually, or select all split pages, such as selecting the select all check box shown in 1101, then check all split pages at once, as shown in Figure 11b, is to select all split pages
  • the radio check box such as 1102
  • a split page selection command can be triggered, and the terminal device responds to the split page selection command, and takes the selected split page as the one to be processed.
  • the target split page correspondingly, the selected target split page may be one or more of at least two split pages, and then the target split page is processed accordingly according to the split page processing instruction.
  • the split page processing instructions may include edit instructions, share instructions, and delete instructions, and the corresponding processing content is to edit the target split page in response to the edit instruction, such as adjusting the size of the target split page according to requirements,
  • the specific content of editing such as graffiti on the target split page
  • the target split page is shared with friends or shared with other devices, etc., and there is no limit to the specific sharing objects here ;
  • Delete the target split page in response to the delete instruction is not limited to the above content, and the target split page can also be saved in response to the save instruction, which is not limited here.
  • the split processing instruction may also include: splicing at least two target split pages in response to the splicing instruction, that is, splicing the selected at least two split pages into a long picture, and the sequence of splicing can be determined by User-defined, after splicing, respond to split processing instructions, such as edit, share, delete and other corresponding instructions to perform the above corresponding processing on the long image.
  • the embodiment of the present application has at least the following advantages:
  • the next processing function is not limited to saving, sharing, deleting and other processing of a single screenshot, but can also be split into at least one short page for batch saving, sharing, deleting and other processing in the case of a specific page, so as to realize the optimization of the screenshot function and extensions.
  • FIG. 12 is a schematic flowchart of a page acquisition method provided in this embodiment.
  • the process includes the following contents:
  • the screenshot command is triggered by a gesture or a physical key or button, that is, the aforementioned page acquisition command.
  • it can also be triggered by other means, such as voice, etc.
  • the content shown in the flow chart is only an example.
  • the terminal device judges the current page parameter after receiving the screenshot instruction, if the current page parameter (b, that is, the page parameter of the aforementioned browsing page) is equal to the preset page parameter (a, that is, the aforementioned first preset page parameter) If the value of the current page parameter (b) is greater than the value of the preset page parameter (a), it enters the specific screen capture process.
  • the browsing page is intercepted according to a specific screen capture mode, you can browse the entire content or part of the content of the page by scrolling up the browsing page. During this process, the user can choose to interrupt the specific screen capture or wait for the page to automatically complete the specific Take a screenshot to end a specific screenshot. After the specific screenshot ends, the user can choose to save this specific screenshot, delete this specific screenshot, share this specific screenshot, edit this specific screenshot, and split the specific screenshot into several a-length page to save. Before splitting a specific screenshot into several pages of length a and saving them, it is necessary to determine whether there is an instruction to split them into single images and save them.
  • the page acquisition solution provided by this embodiment can intelligently determine which screen capture mode is triggered based on the page parameters. It only takes one step to enable a specific screen capture, which is more convenient, and it can be split into at least one short page under certain circumstances. And save, share and delete in batches, which can achieve more efficient processing than only saving, sharing and deleting a single screenshot.
  • FIG. 13 is a schematic flowchart of a method for obtaining a page according to a fourth embodiment. It may be a terminal device (such as the aforementioned mobile terminal 100 ), or may be a server. Here, the execution subject in this embodiment is the terminal device as an example for description. The method includes steps S1301-S1303:
  • the page acquisition instruction may be a screen capture instruction triggered by the user on a page through a gesture or a physical key or button, or a screen capture instruction triggered by voice or motion sensing.
  • the browsing page can be a page of any content currently displayed on the display screen of the terminal device, such as a picture, a novel reading page, etc.
  • the user can trigger the screen capture command through the above method.
  • the terminal device After receiving the screen capture command, the terminal device first obtains the page parameters of the browsed page, judges the page parameters of the browsed page, and then performs corresponding functional processing.
  • the page acquisition instruction and browsing page mentioned in this embodiment may have the same meanings as those in the foregoing embodiments, and more relevant content will not be repeated here.
  • the preset page parameter may be the page parameter of the page that can be displayed on the display screen of the terminal device, and the page parameter of the browsed page is judged, and the result obtained is that the page parameter of the browsed page is greater than the preset page parameter , then it can be determined that the screenshot mode is a specific screenshot mode.
  • the preset page parameters here may be the same as the first preset page parameters involved in the first embodiment, that is, the judgment rules may be the same as the specific screenshot mode judgment content involved in the first embodiment.
  • the target page can be obtained based on the browsing page, such as directly obtaining the currently displayed page as the target page, or by Browsing pages first obtains a specific page, and then processes the specific page to obtain a target page.
  • the target page may be a page whose page parameter is equal to a preset page parameter, and corresponds to a page obtained in a normal screenshot mode.
  • the first page displayed on the browsing page (that is, the page displayed on the screen for the first time in the browsing page) can be used as the target page.
  • the second page The first page, the third page... the content of the page will be different from the first page as the browsing page scrolls.
  • the preset page parameters are the page parameters that can be displayed on the display screen of the terminal device and the existing screen capture mode.
  • the precondition can be changed, that is, the default page The parameter can be any other value.
  • the page parameter of the target page can also be unrelated to the preset page parameter.
  • the target page can also be a page under other screen capture modes except the specific screen capture mode and normal screen capture mode. Do limited.
  • the optional method of obtaining the target page based on the browsing page includes: before capturing the browse page according to the specific screen capture mode, outputting a general screen capture prompt information; In order to trigger the operation of the information, the current displayed page of the browsing page is screen-shot processed to obtain the target page.
  • a common screen capture prompt message can be output on the browse page, and the common screen capture prompt message can be used to prompt the user to use the normal screen capture function , the optional form of this instruction can be a normal screenshot option or a popup box asking the user whether to take a normal screenshot. Please refer to FIG.
  • FIG. 14 which is a schematic interface diagram of a common screenshot prompt information provided by this embodiment.
  • a pop-up window appears on the browsing page with the words "Do you need a normal screen capture” and "Yes” or “No”.
  • the user can click to select "Yes” or "No” to determine whether to perform a normal Take a screenshot.
  • the function status of the specific screenshot can be in a state of not being started or a state of not being started.
  • the terminal device When the terminal device detects a trigger operation for the above-mentioned common screen capture prompt information, for example, click the option "Yes” as shown in Figure 14, the terminal device will respond to the common screen capture prompt information and enable the normal screen capture mode at the same time, Screenshot the currently displayed page of the browsing page according to the normal screenshot mode, that is, take a screenshot of the page currently displayed on the screen of the terminal device on the browsing page, and finally obtain the target page.
  • a trigger operation for the above-mentioned common screen capture prompt information for example, click the option "Yes" as shown in Figure 14, the terminal device will respond to the common screen capture prompt information and enable the normal screen capture mode at the same time, Screenshot the currently displayed page of the browsing page according to the normal screenshot mode, that is, take a screenshot of the page currently displayed on the screen of the terminal device on the browsing page, and finally obtain the target page.
  • the embodiment of the present application has at least the following advantages:
  • the screen capture mode is determined as a specific screen capture mode, provide users with the choice of ordinary screen capture. Even in the specific screen capture mode, the page content in other modes can be obtained, so that the specific screen capture function can be used to the maximum extent, and the general screen capture function can be improved. The use effect in different processing scenarios, the operation is more convenient, and the processing diversity of the screen capture function is also increased.
  • FIG. 15 is a schematic flowchart of a page acquisition method according to the fifth embodiment.
  • the execution subject in this embodiment may be a computer device or a cluster composed of multiple computer devices. It may be a terminal device (such as the aforementioned mobile terminal 100 ), or may be a server. Here, the execution subject in this embodiment is the terminal device as an example for description.
  • the method includes steps S1501-S1504:
  • the implementation of this step can refer to the content mentioned in step S502 in the corresponding embodiment in FIG. display, and intercept the scrolling displayed page, that is, take a screenshot of the scrolling displayed page, of course, there is no limitation on the page intercepting method here.
  • the terminal device can detect the common screen capture command and respond to the common screen capture command.
  • Screen capture processing Please refer to Figure 16, which is a schematic diagram of the interface of a common screen capture by gesture operation during a specific screen capture process provided by this embodiment. The page displayed on the screen of the terminal device at the moment of gesture operation, and then automatically save it to the terminal device, or the user can choose whether to save it, if the user does not operate, it will be saved by default.
  • Figure 17 is another specific screen capture provided by this embodiment
  • the schematic diagram of the interface for common screen capture by button operation during the process is shown in Figure 17.
  • the words "screen capture" in the content of 1701 are used to remind the user that the current page is taking a specific screen capture
  • 1702 is an ordinary screenshot.
  • Screen capture button when the user clicks the common screen capture button, the terminal device outputs the target page, that is, the page displayed on the screen when the button is clicked, and its corresponding saving rules can be the same as those shown in Figure 16.
  • the target page in addition to the current page displayed on the screen of the terminal device when responding to a common screen capture command, can also be the default first page, that is, the browsing page displayed on the display screen of the terminal device for the first time before executing a specific screen capture command.
  • the page please refer to the related description of the first page in S1303 in the embodiment corresponding to FIG. 13 .
  • the current display page displayed on the screen is a page whose content is constantly changing, and in this process, the target page captured can be the current display page (the position range is 0 -x1 and the position range difference is fixed as a, such as x 1 -x 2 ), it can also be the first page, that is, the page in the range of 0-X 1 .
  • the method for determining the above-mentioned common screen capture instruction may include: outputting common screen capture prompt information during the page capture process of browsing pages according to a specific screen capture mode, and if a trigger operation for the common screen capture prompt information is detected, Then it is determined that a common screen capture instruction is detected; or, in the process of capturing the browsing page according to a specific screen capture mode, if a common screen capture gesture operation or a common screen capture voice command is detected, it is determined that a normal screen capture command is detected.
  • the output ordinary screen capture prompt information is output by related options or buttons, and the terminal device can detect a trigger operation for the common screen capture prompt information, that is, it is determined that a normal screen capture is to be performed, and the terminal device determines that a normal screen capture instruction is detected .
  • the terminal device detects a common screen capture gesture operation, such as double-tapping the screen or detects a common screen capture voice command input by the user to the terminal device, such as the user directly saying "normal screen capture"
  • the terminal will detect the common screen capture voice command, and then determine that the normal screen capture command has been detected.
  • the specific content of the common screenshot voice command and the common screenshot gesture operation is not limited here.
  • the embodiment of the present application has at least the following advantages:
  • the user can trigger a common screen capture command through corresponding methods such as gesture operations, voice commands, button presses, etc., and the terminal device responds to the common screen capture command to obtain the normal screen capture page, providing the user with common screenshots during the specific screen capture process.
  • the screen capture function can effectively use the common screen capture function to capture pages with different content in a specific screen capture mode.
  • FIG. 18 is a schematic flowchart of a page acquisition method according to the sixth embodiment.
  • the execution subject in this embodiment may be a computer device or a cluster composed of multiple computer devices. It may be a terminal device (such as the aforementioned mobile terminal 100 ), or may be a server. Here, the execution subject in this embodiment is the terminal device as an example for description.
  • the method includes steps S1801-S1805:
  • the user can choose to interrupt the specific screen capture or wait for the page to complete the specific screen capture automatically or manually during the specific screen capture process.
  • the terminal device will detect the page capture stop instruction, and the page capture stop command can be Triggered by the user through gestures, voice, etc., or by clicking the stop button on the terminal device, such as the button "end specific screenshot", or an instruction triggered by a physical button, or when the browsing page reaches the bottom of the page Triggered by the terminal.
  • the specific triggering method of the page interception stop instruction is not limited here.
  • the terminal device After detecting the page interception stop command, the terminal device stops the specific screen capture operation of the browsing page, and takes the page captured from the moment of starting the specific screen capture to the moment of ending the specific screen capture as a specific page, and its page parameters are greater than the preset page parameters.
  • the specific page here has the same expression meaning as the target page in the above-mentioned first or second embodiment, that is, the page obtained by intercepting the browsing page according to a specific screenshot mode.
  • the way to process the specific page to obtain the target page may be: output the common screen capture prompt information in the processing interface corresponding to the specific page; if a trigger operation for the general screen capture prompt information is detected, then One of the pages is intercepted to obtain the target page.
  • the terminal device will output a preview image of the specific page and some processing options to form a processing interface.
  • FIG. 10 as a schematic diagram of a processing interface corresponding to a specific page provided in this embodiment, in the processing interface shown in FIG. Normal screenshot button, or options etc.
  • the processing interface here can also be divided into a first-level processing interface and a second-level processing interface.
  • the page shown in Figure 10 can be regarded as a first-level processing interface.
  • Figure 19 for the level processing interface, which is a schematic diagram of the interface of a specific page processing operation provided by this embodiment, as shown in Figure 19, the left figure corresponds to the processing interface shown in Figure 10, that is, the level one processing interface, The picture on the right corresponds to the second-level processing interface, including function buttons such as "cropping", "graffiti", and "normal screen capture”. You can switch to the second-level processing interface by clicking the "Edit" option on the first-level processing interface.
  • This secondary processing interface is the corresponding functional interface under the "Edit" entry, and the general screen capture prompt information can be output in the secondary processing interface, that is, the normal screen capture button.
  • the user can click the normal screen capture button to realize the normal screen capture and obtain the target page .
  • the general screen capture prompt information may be in the same form as the above expression, or may be different.
  • the first-level processing interface may not output ordinary screenshot prompt information, so as to avoid repeated prompts to the user.
  • a page can be intercepted based on a specific page. This page can be the first default page of the system, that is, the browsing page before the specific screen capture is displayed on the screen of the terminal device for the first time. page, or a page with a fixed length specified by the user.
  • the implementation of this step may also be: outputting a page selection box; in response to a page movement instruction, moving a specific page; in response to a page determination instruction, obtaining the page currently included in the page selection box, And use the fetched page as the target page.
  • the specific page after the specific page is captured by the terminal device, it not only needs to output the specific page, that is, display the specific page in the terminal device, but also outputs a page selection box, which can be of a fixed size, for example, compared with the normal screen capture mode
  • the page parameters below are the same, that is, the size of the display screen in the terminal device.
  • Figure 20 is a schematic diagram of an interface for processing a specific page provided by this embodiment.
  • the user can input a page movement command by dragging a specific page up and down in the terminal device to move a specific page
  • the page selection box is fixed.
  • the user drags a specific page to a certain position and confirms that it is the page he needs, he enters the page confirmation command by clicking Save, and the terminal device responds to the page confirmation command.
  • the user can also zoom in on the page, and the zoomed-in page included in the page selection box can also be used as the target page.
  • the size and shape of the page selection box can also be adjusted by the user to obtain the target page corresponding to the normal screenshot mode.
  • the processing method for a specific page shown above may also include splitting a specific page as shown in the second embodiment, that is, triggering an instruction to split a page on the processing interface corresponding to a specific page , to get the split page.
  • the split pages obtained by splitting according to the preset page parameters include the pages in the normal screenshot mode, which can be used as the target pages.
  • target page in this embodiment refers to the page corresponding to the normal screenshot mode obtained in the specific screenshot mode, while the target pages in the first embodiment and the second embodiment are specific pages obtained according to the specific screenshot mode.
  • the embodiment of the present application has at least the following advantages:
  • the specific page After taking a specific screenshot of the browsing page and obtaining the specific page, the specific page can be further processed.
  • the common screenshot command on the processing interface corresponding to the specific page By triggering the common screenshot command on the processing interface corresponding to the specific page, the corresponding page in the normal screenshot mode can be obtained, which further enriches the target Processing functions for specific pages.
  • FIG. 21 is a schematic structural diagram of a page acquisition device according to the seventh embodiment.
  • the page acquisition device may be a computer program (including program code) running on a server.
  • the page acquisition device is a Application software; the device can be used to execute the corresponding steps in the method provided by the embodiment of the present application.
  • the apparatus for obtaining a page includes: a determination module 2101 , a page interception module 2102 , a splitting module 2103 , and a response module 2104 .
  • the page interception module 2102 is configured to intercept the browsing page according to the screenshot mode to obtain the target page.
  • the determining module 2101 is specifically configured to: acquire page parameters of the browsed page; if the page parameter of the browsed page is less than or equal to the first preset page parameter, determine that the screenshot mode is a normal screenshot mode; and/or, If the page parameter of the browsing page is greater than the first preset page parameter, it is determined that the screen capture mode is a specific screen capture mode.
  • the page capture module 2102 is specifically configured to: when the determined screen capture mode is the normal screen capture mode, perform page capture on the currently displayed page of the browsing page according to the normal screen capture mode to obtain the target page.
  • the page interception module 2102 is further configured to: when the determined screen capture mode is a specific screen capture mode, perform page capture on the browsing page according to the specific screen capture mode; The page currently intercepted by the page is determined as the target page.
  • the page obtaining apparatus further includes: a splitting module 2103, configured to: split the target page according to the second preset page parameter to obtain at least two split pages.
  • the page acquisition apparatus 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; The target split page is processed accordingly.
  • 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; The target split page is processed accordingly.
  • FIG. 22 is a schematic structural diagram of a page acquisition device according to the eighth embodiment.
  • the page acquisition device may be a computer program (including program code) running on a server.
  • the page acquisition device is a Application software; the device can be used to execute the corresponding steps in the method provided by the embodiment of the present application.
  • the apparatus for obtaining a page includes: an obtaining module 2201 and a determining module 2202 .
  • An acquisition module 2201 configured to acquire page parameters of the browsed page in response to the page acquisition instruction
  • a determination module 2202 configured to determine that the screen capture mode is a specific screen capture mode if the page parameter of the browsed page is greater than the preset page parameter;
  • the acquiring module 2201 is further configured to acquire the target page based on the browsed page in a specific screenshot mode.
  • the acquisition module 2201 is specifically configured to: before scrolling and intercepting the browse page according to a specific screen capture mode, output ordinary screen capture prompt information; if a trigger operation for the ordinary screen capture prompt information is detected, then Take a screenshot of the currently displayed page to obtain the target page.
  • the obtaining module 2201 is specifically further configured to: perform page capture on the browsing page according to a specific screen capture mode; during the process of performing page capture on the browse page according to the specific screen capture mode, if a common screen capture instruction is detected, then A display page in the page interception process is screen-shot processed to obtain a target page.
  • the acquiring module 2201 is specifically further configured to: output common screen capture prompt information during the process of capturing the browsing page according to a specific screen capture mode, and determine if a trigger operation for the normal screen capture prompt information is detected.
  • a common screen capture instruction is detected; or, in the process of capturing the browsing page according to a specific screen capture mode, if a normal screen capture gesture operation or a common screen capture voice command is detected, it is determined that a normal screen capture command has been detected.
  • the acquisition module 2201 is further configured to: perform page capture on the browsing page according to a specific screen capture mode; when a page capture stop instruction is detected, determine the currently captured page for the browse page as a specific page; Process the specific page to obtain the target page.
  • the obtaining module 2201 is specifically further configured to: output common screen capture prompt information in the processing interface corresponding to a specific page; if a trigger operation for the common screen capture prompt information is detected, perform Intercept processing to obtain the target page.
  • the acquisition module 2201 is specifically configured to: output a page selection box; move a specific page in response to a page movement instruction; respond to a page determination instruction, acquire the page currently included in the page selection box, and Use the fetched page as the target page.
  • the present application also provides a mobile terminal device.
  • the terminal device includes a memory and a processor, and a page acquisition program is stored in the memory. When the page acquisition program is executed by the processor, the steps of the page acquisition method in any of the foregoing embodiments are implemented.
  • the mobile terminal device may be the mobile terminal 100 shown in FIG. 1 .
  • the processor 110 of the mobile terminal 100 shown in FIG. 1 may be used to call the page acquisition program stored in the memory 109 to perform the following operations:
  • the browsing page is intercepted to obtain the target page.
  • the processor 110 is specifically configured to: acquire page parameters of the browsed page; if the page parameter of the browsed page is less than or equal to the first preset page parameter, determine that the screen capture mode is a normal screen capture mode; and/or, if If the page parameter of the browsing page is greater than the first preset page parameter, it is determined that the screen capture mode is a specific screen capture mode.
  • the processor 110 is specifically configured to: when the determined screen capture mode is the normal screen capture mode, perform page capture on the currently displayed page of the browsing page according to the normal screen capture mode to obtain the target page.
  • the processor 110 is further configured to: split the target page according to the second preset page parameter to obtain at least two split pages.
  • 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; deal with.
  • the processor 110 of the mobile terminal 100 shown in FIG. 1 can also be used to call the page acquisition program stored in the memory 109 to perform the following operations:
  • the screen capture mode is a specific screen capture mode
  • the processor 110 is specifically configured to: before scrolling and capturing the browsing page according to a specific screen capture mode, output a general screenshot prompt information; Take a screenshot of the currently displayed page to obtain the target page.
  • the processor 110 is specifically configured to: intercept the browsing page according to a specific screen capture mode; during the page capture process of the browse page according to the specific screen capture mode, if a common screen capture instruction is detected, then intercept the page A display page in the process is screened and processed to obtain the target page.
  • the processor 110 is specifically configured to: perform page capture on the browsing page according to a specific screen capture mode; when a page capture stop instruction is detected, determine the currently captured page for the browse page as a specific page; The page is processed to get the target page.
  • the processor 110 is specifically configured to: output common screen capture prompt information in the processing interface corresponding to the specific page; if a trigger operation for the common screen capture prompt information is detected, intercept a page in the specific page , to get the target page.
  • the processor 110 is specifically configured to: output a page selection box; move a specific page in response to a page movement instruction; obtain a page currently included in the page selection box in response to a page determination instruction, and The fetched page is used as the target page.
  • the mobile terminal described in the embodiments of the present application can execute the method description of any of the above embodiments, and can also execute the description of the page device in the embodiment corresponding to FIG. 21 or FIG. 22 above, and details will not be repeated here .
  • the description of the beneficial effect of adopting the same method will not be repeated here.
  • the embodiments of the mobile terminal and the computer-readable storage medium provided in this application include all the technical features of the above-mentioned embodiments of the page acquisition method. Do repeat.
  • An embodiment of the present application further provides a computer program product, the computer program product includes computer program code, and when the computer program code is run on the computer, the computer is made to execute the methods in the above various possible implementation manners.
  • the embodiment of the present application also provides a chip, including a memory and a processor.
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program from the memory, so that the device installed with the chip executes the above various possible implementation modes. Methods.
  • Units in the device in the embodiment of the present application may be combined, divided and deleted according to actual needs.
  • the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in other words, the part that contributes to the prior art, and the computer software product is stored in one of the above storage media (such as ROM/RAM, magnetic CD, CD), including several instructions to make a terminal device (which may be a mobile phone, computer, server, controlled terminal, or network device, etc.) execute the method of each embodiment of the present application.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • a computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, special purpose computer, a computer network, or other programmable apparatus.
  • Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) to another website site, computer, server or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server, a data center, etc. integrated with one or more available media.
  • Usable media may be magnetic media, (eg, floppy disk, memory disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), among others.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

本申请公开了一种页面获取方法、移动终端及存储介质,该方法包括:响应于页面获取指令,根据浏览页面的页面参数确定截屏模式;按照所述截屏模式对所述浏览页面进行页面截取,得到目标页面。通过本申请实施例,可以智能化地启动截屏功能,提升截屏功能操作的便捷度。

Description

页面获取方法、移动终端及存储介质 技术领域
本申请涉及计算机技术领域,具体涉及一种页面获取方法、移动终端及存储介质。
背景技术
随着电子技术的不断发展,终端设备中的应用呈现出百花齐放的发展势态,各种层出不穷的功能致力于为用户带来更便捷的操作,以满足用户在生活和工作上的不同需求。特定截屏(如长截屏、宽截屏等)作为一种快捷功能,无疑解决了用户通过终端设备想要看到超过屏幕阅览的特定页面中所有内容这一问题,例如浏览网页、查看购物清单等,通过特定截屏,用户可以将自己认为有价值的特定页面保存为图片,容纳更多信息,方便用户快速获取和分享。
在构思及实现本申请过程中,发明人发现至少存在如下问题:当前终端设备对于支持特定截屏的页面,启动特定截屏功能的操作不够便捷,且依赖于普通截屏操作,如果普通截屏操作不当没有被启动,就有可能无法触发特定截屏功能,这样会影响特定截屏功能的使用效果。
前面的叙述在于提供一般的背景信息,并不一定构成现有技术。
发明内容
针对上述技术问题,本申请提供一种页面获取方法、移动终端及存储介质,可以智能化地启动截屏功能,提升截屏功能操作的便捷度。
为解决上述技术问题,本申请提供一种页面获取方法,应用于移动终端,包括:
响应于页面获取指令,根据浏览页面的页面参数确定截屏模式;
按照截屏模式对浏览页面进行页面截取,得到目标页面。
可选地,所述页面参数,可以为页面长度,也可以为页面宽度等。
可选地,根据浏览页面的页面参数确定截屏模式,包括:获取浏览页面的页面参数;若浏览页面的页面参数小于或等于第一预设页面参数,则确定截屏模式为普通截屏模式;和/或,若浏览页面的页面参数大于第一预设页面参数,则确定截屏模式为特定截屏模式。
可选地,所述特定截屏模式,可以为长截屏模式,也可以为宽截屏模式等。
可选地,按照截屏模式对浏览页面进行页面截取,得到目标页面,包括:当确定的截屏模式为普通截屏模式时,按照普通截屏模式对浏览页面的当前显示页面进行页面截取,得到目标页面。
可选地,按照截屏模式对浏览页面进行页面截取,得到目标页面,包括:当确定的截屏模式为特定截屏模式时,按照特定截屏模式对浏览页面进行页面截取;在检测到页面截取停止指令时,将针对浏览页面当前所截取到的页面确定为目标页面。
可选地,该页面获取方法还包括:根据第二预设页面参数对目标页面进行拆分处理,得到至少两张拆分页面。
可选地,该页面获取方法还包括:响应于拆分页面选择指令,从至少两张拆分页面中选择目标拆分页面;和/或,响应于拆分页面处理指令,对目标拆分页面进行相应处理。
本申请提供一种页面获取方法,应用于移动终端,包括:
响应于页面获取指令,获取浏览页面的页面参数;
若浏览页面的页面参数大于预设页面参数,则确定截屏模式为特定截屏模式;
在特定截屏模式下,基于浏览页面获取目标页面。
可选地,所述页面参数,可以为页面长度,也可以为页面宽度等。
可选地,所述特定截屏模式,可以为长截屏模式,也可以为宽截屏模式等。
可选地,在特定截屏模式下,基于浏览页面获取目标页面,包括:
在按照特定截屏模式对浏览页面进行页面截取之前,输出普通截屏提示信息;若检测到针对普通截屏提示信息的触发操作,则对浏览页面的当前显示页面进行截屏处理,得到目标页面。
可选地,在特定截屏模式下,基于浏览页面获取目标页面,包括:
按照特定截屏模式对浏览页面进行页面截取;在按照特定截屏模式对浏览页面进行页面截取的过程中,若检测到普通截屏指令,则对页面截取过程中的一个显示页面进行截屏处理,得到目标页面。
可选地,该页面获取方法还包括以下任一种:在按照特定截屏模式对浏览页面进行页面截取的过程中,输出普通截屏提示信息,若检测到针对普通截屏提示信息的触发操作,则确定检测到普通截屏指令;或,在按照特定截屏模式对浏览页面进行页面截取的过程中,若检测到普通截屏手势操作或普通截屏语音指令,则确定检测到普通截屏指令。
可选地,在特定截屏模式下,基于浏览页面获取目标页面,包括:按照特定截屏模式对浏览页面进行页面截取;在检测到页面截取停止指令时,将针对浏览页面当前所截取到的页面确定为特定页面;对特定页面进行处理,得到目标页面。
可选地,所述特定页面,可以为长页面,也可以为宽页面等。
可选地,对特定页面进行处理,得到目标页面,包括:在特定页面对应的处理界面中输出普通截屏提示信息;若检测到针对普通截屏提示信息的触发操作,则对特定页面中的一个页面进行截取处理,得到目标页面。
可选地,对特定页面进行处理,得到目标页面,包括:输出页面选择框;响应于页面移动指令,对特定页面进行移动处理;响应于页面确定指令,获取页面选择框中当前所包括的页面,并将获取的页面作为目标页面。
本申请提供一种页面获取装置,包括:
确定模块,用于响应于页面获取指令,根据浏览页面的页面参数确定截屏模式;
页面截取模块,用于按照截屏模式对浏览页面进行页面截取,得到目标页面。
本申请提供另一种页面获取装置,包括:
获取模块,用于响应于页面获取指令,获取浏览页面的页面参数;
确定模块,用于若浏览页面的页面参数大于预设页面参数,则确定截屏模式为特定截屏模式;
该获取模块,还用于在特定截屏模式下,基于浏览页面获取目标页面。
本申请还提供一种移动终端,包括:存储器、处理器,其中,存储器上存储有页面获取程序,页面获取程序被处理器执行时实现如上述方法的步骤。
本申请还提供一种计算机存储介质,计算机存储介质存储有计算机程序,计算机程序被处理器执行时实现如上述方法的步骤。
如上所述,本申请的页面获取方法,应用于移动终端,通过响应于页面获取指令,根据 浏览页面的页面参数能够一步到位地确定截屏模式,进而按照截屏模式截取页面以得到目标页面,本方案可以使得截屏模式的确定过程更加自动化、智能化,启动截屏功能的便捷度更高,从而能够进一步提升用户使用截屏功能的效率;对于特定截屏模式下得到的页面还可以进行拆分处理,得到拆分页面,丰富特定截屏页面的处理功能和处理效果;此外,在特定截屏模式之下,即无论是在特定截屏之前,或特定截屏过程中,或特定截屏结束之后,都可以得到普通截屏的页面,进而实现截屏功能多场景化的应用。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。为了更清楚地说明本申请实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1为实现本申请各个实施例的一种移动终端的硬件结构示意图;
图2为本申请实施例提供的一种通信网络系统架构图;
图3是根据第一实施例示出的页面获取方法的流程示意图;
图4a是根据第一实施例示出的页面获取方法的浏览页面的部分页面的界面示意图;
图4b是根据第一实施例示出的页面获取方法的浏览页面下滑显示的部分页面的界面示意图;
图5是根据第二实施例示出的页面获取方法的流程示意图;
图6是根据第二实施例示出的页面获取方法的触发页面获取指令的手势示意图;
图7是根据第二实施例示出的页面获取方法的捕获浏览页面的界面示意图;
图8是根据第二实施例示出的页面获取方法的特定截屏浏览页面的界面示意图;
图9是根据第二实施例示出的页面获取方法的浏览页面滚动显示到页面底部的界面示意图;
图10是根据第二实施例示出的页面获取方法的特定截屏页面的处理界面的示意图;
图11a是根据第二实施例示出的页面获取方法的拆分页面的处理界面的示意图;
图11b是根据第二实施例示出的页面获取方法的拆分页面被全选的界面示意图;
图12是根据第三实施例示出的页面获取方法的流程示意图;
图13是根据第四实施例示出的页面获取方法的流程示意图,
图14是根据第四实施例示出的页面获取方法的普通截屏提示信息的界面示意图;
图15是根据第五实施例示出的页面获取方法的流程示意图;
图16是根据第五实施例示出的页面获取方法的特定截屏过程中手势操作普通截屏的界面示意图;
图17是根据第五实施例示出的页面获取方法的特定截屏过程中按钮操作普通截屏的界面示意图;
图18是根据第六实施例示出的一种页面获取方法的流程示意图;
图19是根据第六实施例示出的一种页面获取方法的特定页面处理操作的界面示意图;
图20根据第六实施例示出的一种页面获取方法的处理特定页面的界面示意图;
图21根据第七实施例示出的一种页面获取模块的结构示意图;
图22根据第八实施例示出的一种页面获取模块的结构示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素,此外,本申请不同实施例中具有同样命名的部件、特征、要素可能具有相同含义,也可能具有不同含义,其具体含义需以其在该具体实施例中的解释或者进一步结合该具体实施例中上下文进行确定。
应当理解,尽管在本文可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本文范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语"如果"可以被解释成为"在……时"或"当……时"或"响应于确定"。再者,如同在本文中所使用的,单数形式“一”、“一个”和“该”旨在也包括复数形式,除非上下文中有相反的指示。应当进一步理解,术语“包含”、“包括”表明存在所述的特征、步骤、操作、元件、组件、项目、种类、和/或组,但不排除一个或多个其他特征、步骤、操作、元件、组件、项目、种类、和/或组的存在、出现或添加。本申请使用的术语“或”、“和/或”、“包括以下至少一个”等可被解释为包括性的,或意味着任一个或任何组合。例如,“包括以下至少一个:A、B、C”意味着“以下任一个:A;B;C;A和B;A和C;B和C;A和B和C”,再如,“A、B或C”或者“A、B和/或C”意味着“以下任一个:A;B;C;A和B;A和C;B和C;A和B和C”。仅当元件、功能、步骤或操作的组合在某些方式下内在地互相排斥时,才会出现该定义的例外。
应该理解的是,虽然本申请实施例中的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,其可以以其他的顺序执行。而且,图中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,其执行顺序也不必然是依次进行,而是可以与其他步骤或者其他步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
取决于语境,如在此所使用的词语“如果”、“若”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述 的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。
需要说明的是,在本文中,采用了诸如S301、S302等步骤代号,其目的是为了更清楚简要地表述相应内容,不构成顺序上的实质性限制,本领域技术人员在具体实施时,可能会先执行S302后执行S301等,但这些均应在本申请的保护范围之内。
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或者“单元”的后缀仅为了有利于本申请的说明,其本身没有特定的意义。因此,“模块”、“部件”或者“单元”可以混合地使用。
移动终端可以以各种形式来实施。例如,本申请中描述的移动终端可以包括诸如手机、平板电脑、笔记本电脑、掌上电脑、个人数字助理(Personal Digital Assistant,PDA)、便捷式媒体播放器(Portable Media Player,PMP)、导航装置、可穿戴设备、智能手环、计步器等移动终端,以及诸如数字TV、台式计算机等固定终端。
后续描述中将以移动终端为例进行说明,本领域技术人员将理解的是,除了特别用于移动目的的元件之外,根据本申请的实施方式的构造也能够应用于固定类型的终端。
请参阅图1,其为实现本申请各个实施例的一种移动终端的硬件结构示意图,该移动终端100可以包括:RF(Radio Frequency,射频)单元101、WiFi模块102、音频输出单元103、A/V(音频/视频)输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图1中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图1对移动终端的各个部件进行具体的介绍:
射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将基站的下行信息接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General Packet Radio Service,通用分组无线服务)、CDMA2000(Code Division Multiple Access 2000,码分多址2000)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、TD-SCDMA(Time Division-Synchronous Code Division Multiple Access,时分同步码分多址)、FDD-LTE(Frequency Division Duplexing-Long Term Evolution,频分双工长期演进)和TDD-LTE(Time Division Duplexing-Long Term Evolution,分时双工长期演进)等。
WiFi属于短距离无线传输技术,移动终端通过WiFi模块102可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图1示出了WiFi模块102,但是可以理解的是,其并不属于移动终端的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
音频输出单元103可以在移动终端100处于呼叫信号接收模式、通话模式、记录模式、语音识别模式、广播接收模式等等模式下时,将射频单元101或WiFi模块102接收的或者在 存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与移动终端100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103可以包括扬声器、蜂鸣器等等。
A/V输入单元104用于接收音频或视频信号。A/V输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或WiFi模块102进行发送。麦克风1042可以在电话通话模式、记录模式、语音识别模式等等运行模式中经由麦克风1042接收声音(音频数据),并且能够将这样的声音处理为音频数据。处理后的音频(语音)数据可以在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。麦克风1042可以实施各种类型的噪声消除(或抑制)算法以消除(或抑制)在接收和发送音频信号的过程中产生的噪声或者干扰。
移动终端100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。可选地,光传感器包括环境光传感器及接近传感器,可选地,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在移动终端100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。
用户输入单元107可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。可选地,用户输入单元107可包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作),并根据预先设定的程式驱动相应的连接装置。触控面板1071可包括触摸检测装置和触摸控制器两个部分。可选地,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,并能接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。可选地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种,具体此处不做限定。
可选地,触控面板1071可覆盖显示面板1061,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图1中,触控面板1071与显示面板1061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触 控面板1071与显示面板1061集成而实现移动终端的输入和输出功能,具体此处不做限定。
接口单元108用作至少一个外部装置与移动终端100连接可以通过的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端100内的一个或多个元件或者可以用于在移动终端100和外部装置之间传输数据。
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,可选地,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器110是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器110可包括一个或多个处理单元;优选的,处理器110可集成应用处理器和调制解调处理器,可选地,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
移动终端100还可以包括给各个部件供电的电源111(比如电池),优选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管图1未示出,移动终端100还可以包括蓝牙模块等,在此不再赘述。
为了便于理解本申请实施例,下面对本申请的移动终端所基于的通信网络系统进行描述。
请参阅图2,图2为本申请实施例提供的一种通信网络系统架构图,该通信网络系统为通用移动通信技术的LTE系统,该LTE系统包括依次通讯连接的UE(User Equipment,用户设备)201,E-UTRAN(Evolved UMTS Terrestrial Radio Access Network,演进式UMTS陆地无线接入网)202,EPC(Evolved Packet Core,演进式分组核心网)203和运营商的IP业务204。
可选地,UE201可以是上述终端100,此处不再赘述。
E-UTRAN202包括eNodeB2021和其它eNodeB2022等。可选地,eNodeB2021可以通过回程(backhaul)(例如X2接口)与其它eNodeB2022连接,eNodeB2021连接到EPC203,eNodeB2021可以提供UE201到EPC203的接入。
EPC203可以包括MME(Mobility Management Entity,移动性管理实体)2031,HSS(Home Subscriber Server,归属用户服务器)2032,其它MME2033,SGW(Serving Gate Way,服务网关)2034,PGW(PDN Gate Way,分组数据网络网关)2035和PCRF(Policy and Charging Rules Function,政策和资费功能实体)2036等。可选地,MME2031是处理UE201和EPC203之间信令的控制节点,提供承载和连接管理。HSS2032用于提供一些寄存器来管理诸如归属位置寄存器(图中未示)之类的功能,并且保存有一些有关服务特征、数据速率等用户专用的信息。所有用户数据都可以通过SGW2034进行发送,PGW2035可以提供UE 201的IP地 址分配以及其它功能,PCRF2036是业务数据流和IP承载资源的策略与计费控制策略决策点,它为策略与计费执行功能单元(图中未示)选择及提供可用的策略和计费控制决策。
IP业务204可以包括因特网、内联网、IMS(IP Multimedia Subsystem,IP多媒体子系统)或其它IP业务等。
虽然上述以LTE系统为例进行了介绍,但本领域技术人员应当知晓,本申请不仅仅适用于LTE系统,也可以适用于其他无线通信系统,例如GSM、CDMA2000、WCDMA、TD-SCDMA以及未来新的网络系统等,此处不做限定。
基于上述移动终端硬件结构以及通信网络系统,提出本申请各个实施例。
第一实施例
请参见图3,图3是根据第一实施例示出的一种页面获取方法的流程示意图,该实施例中的执行主体可以是一个计算机设备或者是多个计算机设备构成的集群,该计算机设备可以是终端设备(如前述移动终端100),也可以是服务器,此处,以本实施例中的执行主体为终端设备为例进行说明。该方法至少包括以下步骤S301~S302:
S301,响应于页面获取指令,根据浏览页面的页面参数确定截屏模式。
在一实施例中,页面获取指令可以是用户按照指定的触发方式在终端设备中触发的指令,示例性地,可以包括触摸屏交互、语音交互、动作感应交互(体感技术)、视觉交互等交互方式触发,可选地,触摸屏交互可以是譬如通过特定的手势可以触发页面获取指令,手势包括但不限于单击、双击、长按、绘制预设图形、多指滑动等。除此,用户还可以通过物理按键、按钮等方式操作触发页面获取指令,对于页面获取指令在终端设备中的具体触发方式在此不做限定。
终端设备在接收到用户触发的页面获取指令后,会响应于该页面获取指令,然后根据浏览页面的长度确定具体是哪一种截屏模式。该浏览页面可以是在终端设备的显示屏(下述“屏幕”与之是相同含义)中当前展示的任意长度的页面,其对应的页面参数(本实施例中,以页面长度为例)可以是大于显示屏所能展示给用户的内容所在页面的页面参数,也就是说该浏览页面不能在一个屏幕中将所有内容全部展示给用户,可能需要通过上下滑动来进一步显示该浏览页面的相对当前显示内容来说的隐藏内容,例如在台式电脑设备中打开一个购物网页,通常屏幕显示的内容都是该网页的一部分,其余的内容可以向下滚动页面来查看更多的内容。请参见图4a,是本实施例提供的一种浏览页面的部分页面的界面示意图,如图4a所示,在智能手机中的设置功能界面显示了包括搜索栏和其他功能选项等内容,但图4a示出的内容只是该设置功能的界面的一部分,剩余的内容可以视为隐藏在屏幕底端,通过对设置功能的界面向下滑动可以显示屏幕底端隐藏的内容,而最初显示在如图4a所示的屏幕顶端的页面则会被隐藏,如图4b所示,是向下滑动之后显示的浏览页面的部分内容,包括应用管理、电池、隐私权限这部分内容是之前没有显示在屏幕中的,而图4a中显示的搜索栏和屏幕的其他信息当前则没有显示在屏幕中。
当然,浏览页面的页面参数也可以是小于或等于显示屏所能展示给用户的内容所在页面的页面参数,也就是在屏幕中能够一次性地展示该浏览页面的所有内容,例如智能手机的桌面即可作为一个浏览页面或者一张照片也可以作为浏览页面,对于浏览页面的内容和页面参数在此不做限定。另外,截屏模式是终端设备的一种截屏方式,可以为用户提供相应的截屏功能,包括常规的截屏(即将当前显示在屏幕上的内容截屏,得到一张图片)和特定截屏(即 将当前显示在屏幕上的页面内容以及该页面通过上下滑动或者左右滑动可以显示在屏幕上的页面内容截屏出来,得到一张图片),对于截屏模式包括的具体类型在此不做限定。
在一实施例中,根据浏览页面的页面参数确定截屏模式的可选实现方式包括:获取浏览页面的页面参数;若浏览页面的页面参数小于或等于第一预设页面参数,则确定截屏模式为普通截屏模式;和/或,若浏览页面的页面参数大于第一预设页面参数,则确定截屏模式为特定截屏模式(本实施例中,以长截屏模式为例)。可选地,第一预设页面的长度可以是终端设备的显示屏所能展示页面的长度,也可以是由用户自主设定的页面参数,还可以是终端设备默认的其他页面参数,在此不做限定。本实施例中,以第一预设页面参数为终端显示屏所能展示的页面参数为例进行说明,当终端设备接收并响应页面获取指令,首先获取到浏览页面的页面参数,然后对浏览页面的页面参数进行判断,即将浏览页面的页面参数和第一预设页面参数进行比较,进而确定截屏模式。可选地,判断的规则如下:若浏览页面的页面参数小于或等于第一预设页面参数,即终端的显示屏能够将该浏览页面的全部内容一次性展示给用户,此时可以选择普通截屏模式,也就是常规的截屏;若浏览页面的页面参数大于第一预设页面参数,也就是说,浏览页面的内容在终端显示屏中不能一次性展示给用户,而是需要用户进行相应操作,如下拉、上滑等才能够阅览该浏览页面包括的所有内容,如果用户想要将该浏览页面的内容一次性分享给其他人,则可以采用特定截屏模式,因为在这种情况下,特定截屏模式相比于普通截屏模式是一种更为简便快捷的优选截屏方式。
S302,按照截屏模式对浏览页面进行页面截取,得到目标页面。
在一实施例中,这里的截屏模式可以是上一步骤中根据浏览页面参数确定的截屏模式,不同截屏模式下对应的截屏方式和具体的流程有所不同,根据相应的截屏模式对浏览页面进行页面截取,得到的目标页面的页面参数和页面内容也有所区别。示例性地,如浏览页面是购物网站的商品购买页,包括商品、评价、详情、推荐四个模块的内容,当前显示在终端设备中的页面是商品模块,包括商品的图片、商品名称和一些简要的商品信息(如颜色、质地、产地、保障措施等),但是在该浏览页面还包括评价、详情、推荐等模块的内容并没有在当前展示在终端设备的屏幕上。按照普通截屏模式截取页面,得到的目标页面包括当前在终端设备的屏幕上显示的内容,即商品模块的内容,按照特定截屏模式截取浏览页面的所有内容,得到的目标页面不仅包括当前显示在终端设备的屏幕上的内容,还包括该浏览页面当前没有显示在终端设备的屏幕上的内容,即目标页面的页面内容包括商品、评价、详情、推荐模块。
在一实施例中,此步骤的可选实现方式包括:当确定的截屏模式为普通截屏模式时,按照普通截屏模式对浏览页面的当前显示页面进行页面截取,得到目标页面。
普通截屏模式是一种常规的截屏,按照普通截屏模式截取的是当前显示在终端设备的屏幕中页面,也即当前显示页面,如图4a所示的浏览页面的部分展示页面,也可以视为是浏览页面的当前显示页面。可选地,确定截屏模式的规则可以参见前述步骤所提及的内容,如通过判断浏览页面的页面参数和第一预设页面参数来确定,在这一规则下,普通截屏模式对应的是浏览页面的页面参数小于第一预设页面参数,可选地,按照第一预设页面参数为终端设备的屏幕所能容纳的显示页面的长度,浏览页面的当前显示页面即浏览页面本身的内容,对该页面进行页面截取,采用的方式可以是截屏处理,最终得到的目标页面也就是浏览页面,截屏模式进行页面截取的结果以图片形式展示,终端设备的屏幕显示的内容都会截取到同一个页面中。在一些情况下,该图片中不仅仅包括浏览页面,还有可能包括终端设备屏幕显示的其他内容,例如针对智能手机,在该图片中还包括电量、信号等图形标识。
可以发现,相比于用户先通过特定的手势、物理按键、按钮等操作触发截屏,然后通过点击截屏预览图上的特定截屏按钮启动特定截屏功能,本实施例提供的截屏方式更加便捷,可以有效避免在用户对普通截屏操作不当的情况下,无法触发特定截屏功能的缺点。
综上所述,本申请实施例至少具有如下优点:
通过响应于页面获取指令,对浏览页面的页面参数进行判断,如将浏览页面参数和第一预设页面参数进行比较这一方式,可以直接地、智能化地确定出截屏模式,包括普通截屏模式和特定截屏模式,尤其是针对支持特定截屏的页面能够快速确定截屏模式并启动特定截屏功能。采用本实施例提供的方案可以使得特定截屏功能的启动更加独立,从而有效避免依赖于普通截屏进行特定截屏,并且整个过程中特定截屏操作能够一步到位,更快捷方便,进而可以提升截屏功能启动的智能化和便捷度,以及截屏功能使用效率。
第二实施例
请参见图5,图5是根据第二实施例示出的一种页面获取方法的流程示意图,该实施例中的执行主体可以是一个计算机设备或者是多个计算机设备构成的集群,该计算机设备可以是终端设备(如前述移动终端100),也可以是服务器,此处,以本实施例中的执行主体为终端设备为例进行说明。该方法至少包括以下步骤S501~S503:
S501,响应于页面获取指令,根据浏览页面的页面参数确定截屏模式。
在一实施例中,页面获取指令可以根据特定的手势或物理按键或按钮进行触发,请参见图6,是本实施例提供的一种触发页面获取指令的手势示意图,如图6所示,通过多指向下滑动触发页面获取指令,获取相关参数,如页面参数(本实施例中以页面长度为例)等,进而执行后续的截屏功能。其余内容,如确定截屏模式的可选步骤可参见图3对应实施例中的步骤S301,在此不做赘述。
S502,当确定的截屏模式为特定截屏模式时,按照所述特定截屏模式对所述浏览页面进行页面截取。
在一实施例中,截屏模式可以按照第一实施例中所提及的根据浏览页面的页面参数和第一预设页面参数进行比较来确定,当然,也可以采用其他方法,在此不做限制。当特定截屏模式(本实施例中,以长截屏模式为例)确定之后,终端设备会自动启动特定截屏功能,按照相应的方式对浏览页面进行页面截取,可选地,当确定的截屏模式为特定截屏模式时,按照所述特定截屏模式对所述浏览页面进行滚动截屏处理。即页面截取可以由终端设备自动对浏览页面进行滚动显示进行页面截屏,而通过在屏幕顶端显示“截屏中”这样的字样来表示正在进行页面截取。可选地,当确定的截屏模式为特定截屏模式时,按照所述特定截屏模式对所述浏览页面进行手动截屏处理。这里的手动截屏处理是指需要用户手动操作,对浏览页面进行滑动,可以下拉页面将浏览页面部分内容隐藏于屏幕顶端显示到屏幕,也可以向上滑动页面展示隐藏于屏幕底端的页面内容,从而对滑动显示在屏幕中的页面进行截屏处理。在此对于页面截取具体方式不做限制。
在一实施例中,特定截屏执行过程中,对浏览页面进行页面截取可以是对浏览页面的目标内容进行捕获,该目标内容是对用户有用的信息。示例性地,若个人电脑的显示屏中展示某个网页的内容,除此之外,还有网页的地址栏以及其他信息,但是用户往往需要的有价值信息的网页中具体介绍的内容,这时利用特定截屏可以单纯地针对网页内容进行捕获处理,而地址栏或其他信息都可以不要。具体捕获哪些内容和/或选项,可以由用户设定,或者根据 使用习惯或大数据分析自动确定或生成。如图7所示,是本实施例提供的一种捕获浏览页面的界面示意图,在该界面中,用户通过点击捕获选项得到区别于截屏所得的页面内容,在页面捕获结果中,只包括网页的信息,这样可以在获取对用户来说有价值的信息时可以使得获取的截屏内容更纯净。
S503,在检测到页面截取停止指令时,将针对浏览页面当前所截取到的页面确定为目标页面。
在一实施例中,页面截取停止指令可以是用户通过手势、语音等触发的,也可以是用户通过点击终端设备中的停止按钮,例如“结束特定截屏”这一按钮,或物理按键触发的指令,还可以是在浏览页面到达页面底端时终端主动触发的。对于页面截取停止指令的具体触发方式在此不做限定。终端设备在检测到该页面截取停止指令后,通过响应于该页面截取停止指令,停止对浏览页面的截取处理,也即停止特定截屏,并将当前时刻之前所截屏到的页面作为目标页面,该目标页面也可以称为特定页面,其页面参数是大于终端设备的显示屏长度的,但是可能小于或者等于浏览页面的页面参数,因为在特定截屏过程中,用户可以通过如点击“结束特定截屏”的按钮终止对浏览页面的截取处理,这时得到的目标页面的页面参数是小于浏览页面的页面参数的,且目标页面的页面内容是浏览页面的部分内容。示例性地,如图8所示,是本实施例提供的一种特定截屏浏览页面的界面示意图,该页面中包括“结束特定截屏”的按钮,浏览页面正在滚动显示以进行特定截屏,当浏览页面滚动到剩余页面的一半时,用户点击该“结束特定截屏”按钮,终端设备检测到页面截取停止指令,便会停止对浏览页面的滚动显示,然后将当前时刻之前截取到的页面确定为目标页面。
当然,如果按照特定截屏模式对浏览页面一直截取到页面底部,获取到的目标页面的页面参数是和浏览页面一致的。请参见图9,是本实施例提供的一种浏览页面滚动显示到页面底部的界面示意图,如图9所示,该浏览页面是终端设备中的设置功能的页面,对该页面进行特定截屏,一直滚动显示到页面底部,会显示“已到达页面底部”的提示信息,该提示信息可以触发页面截取停止指令,终端响应于该页面截取停止指令后,可以把浏览页面确定为目标页面中的内容。
在一实施例中,得到目标页面之后,还可以包括:根据第二预设页面参数对目标页面进行拆分处理,得到至少两张拆分页面。可选地,第二预设页面参数可以和第一预设页面参数相同,例如均为终端设备的显示屏所能显示的页面的页面参数或均为用户自主设定的页面参数,当然第二预设页面也可以和第一预设页面参数不同,如第一预设页面参数是终端设备的显示屏所能显示的页面的页面参数,而第二预设页面参数可以由用户自定义,用户可以根据自定义的第二预设页面参数对目标页面进行拆分,对第二预设页面参数在此不做限定。可选地,目标页面的页面参数是大于显示屏所能显示页面的页面参数,以显示屏所能显示的页面的页面参数作为第二预设页面参数,对目标页面进行拆分处理,得到的至少两张拆分页面中,每张拆分页面的页面参数小于或者等于第二预设页面参数。示例性地,假设特定截屏模式下得到的目标页面的页面参数为b,第二预设页面参数为a,若目标页面的页面参数正好为第二预设页面的页面参数的整数倍,即b=ka,则可以将目标页面拆分成k张长度为a的页面,即k张拆分页面,其中k为大于1的正整数,即k的取值为2,3,……。若目标页面的页面参数和第二预设页面参数的关系为b=ka+c,则可以将目标页面拆分为k张长度为a的页面和一张长度为a的页面,即k+1张拆分页面,其中0<c<a,k为正整数,即k的取值为1,2,……。
另外,对于目标页面进行拆分处理这一步骤可以是根据用户选择页面拆分选项触发的拆 分指令进而执行的,也可以是终端设备得到目标页面后自动启动,对此不做限定。可选地,对于目标页面的拆分处理选项所在的处理界面可以参见图10,是本申请实施例提供的一种特定截屏页面的处理界面的示意图,其中包括分享、编辑、拆分特定页面这三个处理选项,用户可以通过点击“拆分特定页面”触发的拆分指令,终端设备可以响应该拆分指令对特定截屏页面进行拆分处理,得到拆分之后的页面,即拆分页面。如图11a所示,是本实施例提供的一种拆分页面的处理界面示意图,可以发现,该图中展示了3张拆分页面,其中有两张拆分页面的页面参数相同,而剩余的一张拆分页面的页面参数小于这两张拆分页面,这种情况对应的是前述页面参数的关系为b=ka+c情况下的拆分处理。
在一实施例中,对于目标页面拆分之后得到的拆分页面还可以进一步处理,该处理方式可以包括:响应于拆分页面选择指令,从至少两张拆分页面中选择目标拆分页面;响应于拆分页面处理指令,对目标拆分页面进行相应处理。可选地,对于拆分页面选择指令以及拆分页面处理指令可以是用户在相应的拆分处理界面选择相应地选项触发的。继续以上述图11a作为示例,可以发现,如图11a所示的界面中,每张拆分页面可以被用户自主选择进行处理,用户选中如1102的单选勾选框,表示对相应拆分页面进行单独勾选,也可以对拆分页面进行全选操作,如选中1101所示的全选勾选框,则一次性勾选所有拆分页面,如图11b所示,是拆分页面全选之后的界面示意图,进而可以批量处理这些被勾选的拆分页面(即目标拆分页面)。
简而言之,当用户通过特定方式全选或者单独选择拆分页面,均可以触发拆分页面选择指令,终端设备响应于该拆分页面选择指令,将选择的拆分页面作为准备要处理的目标拆分页面,相应的,选择的目标拆分页面的数量可以是至少两张拆分页面中的一张或多张,然后根据拆分页面处理指令对目标拆分页面进行相应处理。可选地,拆分页面处理指令可以包括编辑指令、分享指令、删除指令,分别对应的处理内容是响应于编辑指令对目标拆分页面进行编辑,如按照需求调整目标拆分页面的大小、在目标拆分页面中进行涂鸦等,对于编辑的具体内容在此不做限制;响应于分享指令将目标拆分页面分享给好友或者分享到其他设备中等,对具体的分享对象在此也不做限制;响应于删除指令删除目标拆分页面,当然,拆分页面处理指令也不仅限于上述内容,还可以响应于保存指令保存目标拆分页面等,在此不做限制。可选地,在响应于拆分处理指令之前,还可以包括:响应于拼接指令拼接至少两张目标拆分页面,即将选中的至少两张拆分页面拼为一张长图,其拼接的顺序可以由用户自定义,在拼接之后,再响应于拆分处理指令,如编辑、分享、删除等对应的指令对该长图执行上述相应的处理。
综上所述,本申请实施例至少具有以下优点:
通过对特定截屏模式下得到的页面进行拆分处理,得到至少两张拆分页面,并进一步确定至少两张拆分页面中的目标拆分页面,对其进行相应处理,可以丰富在特定截屏模式下处理功能,即不仅限于对单张截图的保存、分享、删除等处理,还可以在特定页面情况下拆分为至少一个短页面进行批量保存、分享、删除等处理,实现对截屏功能的优化和扩展。
第三实施例
基于上述第一实施例和第二实施例所描述的内容,可参见图12,是本实施例提供的一种页面获取方法的流程示意图,该流程包括以下内容:
首先,通过手势或者物理按键或者按钮触发截屏指令,也即前述的页面获取指令,此外, 还可以通过其他方式触发,如语音等,流程图中示出的内容仅作为一种示例。
然后,终端设备在接收到截屏指令,对当前页面参数进行判断,若当前页面参数(b,即前述的浏览页面的页面参数)等于预设页面参数(a,即前述第一预设页面参数)的值,则进入普通截屏流程,若当前页面参数(b)大于预设页面参数(a)的值,则进入特定截屏流程。
接着,如果进入普通截屏流程后,截取当前页面,也就是按照普通截屏模式对浏览页面进行页面截取,即截屏浏览页面的当前显示页面,得到一张截屏,用户可以选择保存此张截屏、删除此张截屏、分享此张截屏或者编辑此张截屏。
如果进入特定截屏流程后,按照特定截屏模式对浏览页面进行页面截取,可以通过向上滚动浏览页面截屏浏览页面的全部内容或部分内容,在这个过程中用户可以选择中断特定截屏或者等待页面自动完成特定截屏来结束特定截屏,在特定截屏结束后,用户可以选择保存此张特定截屏、删除此张特定截屏、分享此张特定截屏、编辑此张特定截屏、将特定截屏拆分成若干张a长度的页面进行保存。在将特定截屏拆分成若干张a长度的页面进行保存之前,需要判断是否有拆分成单图保存的指令,如果有,会紧接着判断特定截屏页面参数是否和预设页面参数a成k倍整数关系,即若特定截屏页面参数(b)正好为预设页面参数(a)的整数倍,即b=ka(k为大于1的正整数2,3……),则可将特定截屏拆分成k张页面;若特定截屏页面参数(b)正好为预设页面参数(a)的整数倍,即b=ka+c(0<c<a,k为正整数1,2,3……),则可将特定截屏拆分成k张页面,剩余的部分以c的长度单独拆分;在已经拆分的页面中选择要保存的页面进行保存、删除、编辑、分享等操作。
如上所述,本实施例提供的页面获取方案基于页面参数可以智能判断触发哪种截屏模式,只要一步就能启用特定截屏,便捷度更高,并且特定页面情况下可以拆分成至少一个短页面并批量保存、分享、删除,相对于只能对单张截图进行保存、分享和删除能够实现更高效地处理。
第四实施例
请参见图13,图13是根据第四实施例示出的一种页面获取方法的流程示意图,该实施例中的执行主体可以是一个计算机设备或者是多个计算机设备构成的集群,该计算机设备可以是终端设备(如前述移动终端100),也可以是服务器,此处,以本实施例中的执行主体为终端设备为例进行说明。该方法包括步骤S1301~S1303:
S1301,响应于页面获取指令,获取浏览页面的页面参数。
在一实施例中,页面获取指令可以是用户在一个页面上通过手势或物理按键或按钮触发的截屏指令,还可以是通过语音或动作感应等方式触发的截屏指令。浏览页面可以是当前显示在终端设备的显示屏中的任意内容的页面,如一张图片、一段小说阅读页面等,对页面获取指令的触发方式以及浏览页面的内容在此不做限制。用户可以通过上述方式触发截屏指令,终端设备接收到该截屏指令后,先获取浏览页面的页面参数,对浏览页面的页面参数进行判断,进而进行相应的功能处理。需要说明的是,本实施例提及的页面获取指令和浏览页面可以与前述实施例中是相同的含义,更多相关内容在此不做赘述。
S1302,若浏览页面的页面参数大于预设页面参数,则确定截屏模式为特定截屏模式。
在一实施例中,预设页面参数可以是终端设备的显示屏中所能展示的页面的页面参数,对浏览页面的页面参数进行判断,得到的结果是浏览页面的页面参数大于预设页面参数,那么可以确定截屏模式是特定截屏模式。需要说明的是,这里的预设页面参数可以和第一实施 例中涉及的第一预设页面参数相同,即判断规则和第一实施例中涉及的特定截屏模式判断内容可以是相同的。
S1303,在特定截屏模式下,基于浏览页面获取目标页面。
在一实施例中,确定特定截屏模式之后,会进入特定截屏流程,对浏览页面进行特定截屏的操作。在进入特定截屏流程之前,或者在特定截屏执行的过程之中,或者在特定截屏流程执行完毕之后,都可以基于浏览页面来获取目标页面,如直接将获取当前显示的页面作为目标页面,或者由浏览页面先得到一个特定页面,再对特定页面进行处理得到目标页面。这里的目标页面可以是页面参数等于预设页面参数的页面,对应的是在普通截屏模式下得到的页面。也就是说,在特定截屏模式下,不启用普通截屏模式或者同时启用普通截屏模式,可以得到普通截屏模式下的页面。由于浏览页面的页面参数大于显示屏所能容纳的页面参数,随着用户的一些操作,如下拉或向上滑动等,在终端设备的屏幕中显示的浏览页面的页面内容会随之改变,但都是属于同一浏览页面的内容。因此基于浏览页面获取普通截屏模式下的页面,也有可能因为当前屏幕中显示的页面内容不同而有所差别。举例来说,在进入特定截屏流程之前,可以将浏览页面显示的第一个页面(即浏览页面第一次显示在屏幕上的页面)作为目标页面,进入特定截屏流程之后,相对来说第二个页面,第三个页面……的页面内容会随着浏览页面滚动显示和第一个页面有所不同。另外,需要说明的是,上述内容是在预设页面参数为终端设备的显示屏所能展示的页面参数以及现有截屏模式的条件下阐述的,当然,可以更换前提条件,也即预设页面参数可以是其他任意值,目标页面的页面参数也可以和预设页面参数没有关联,目标页面也可以是在除特定截屏模式和普通截屏模式之外的其他截屏模式之下的页面,对此不做限定。
在一实施例中,在特定截屏模式下,基于浏览页面得到目标页面的可选方式包括:在按照特定截屏模式对浏览页面进行页面截取之前,输出普通截屏提示信息;若检测到针对普通截屏提示信息的触发操作,则对浏览页面的当前显示页面进行截屏处理,得到目标页面。可选地,进入特定截屏流程之前,也就是按照特定截屏模式对浏览页面进行滚动页面截取之前,可以在浏览页面输出普通截屏提示信息,该普通截屏提示信息可以用于提示用户使用普通截屏的功能,该指令的可选表达形式可以是一个普通截屏选项或者询问用户是否进行普通截屏的弹框。请参见图14,是本实施例提供的一种普通截屏提示信息的界面示意图。如图14所示,在执行特定截屏之前,浏览页面中弹窗出现“是否需要普通截屏”以及“是”“否”的字样,用户可以通过点击选择“是”或“否”确定是否执行普通截屏,此时特定截屏的功能状态可以是处于未启动的状态或者启动未执行的状态。当终端设备检测到针对上述普通截屏提示信息的触发操作时,例如点击如图14中所示的“是”这一选项,终端设备会响应于该普通截屏提示信息,可以同时启用普通截屏模式,按照普通截屏模式对浏览页面的当前显示页面进行截屏处理,也就是将浏览页面当前显示在终端设备的屏幕中的页面进行截屏,最终截屏得到的即为目标页面。
需要说明的是,这里的目标页面以及下述实施例中提及的目标页面具有相同含义,均可以是在普通截屏指令下得到的页面,但和前述第一实施例以及第二实施例中的目标页面含义是不同的含义,前述第一实施例以及第二实施例中的目标页面是指对浏览页面进行特定截屏得到的页面,可以和下述实施例中的特定页面是相同的表达意义。对于在特定截屏流程中或结束特定截屏之后,获取目标页面的步骤可参见下述实施例,在此不做说明。
综上所述,本申请实施例至少具有以下优点:
在确定截屏模式为特定截屏模式的条件下,为用户提供普通截屏的选择,即使在特定截屏模式下也可以得到其他模式下的页面内容,使得特定截屏功能得到最大化地利用,提升普通截屏功能在不同处理场景下的使用效果,操作更便捷的同时也增加了截屏功能的处理的多样性。
第五实施例
请参见图15,图15是根据第五实施例示出的一种页面获取方法的流程示意图,该实施例中的执行主体可以是一个计算机设备或者是多个计算机设备构成的集群,该计算机设备可以是终端设备(如前述移动终端100),也可以是服务器,此处,以本实施例中的执行主体为终端设备为例进行说明。该方法包括步骤S1501~S1504:
S1501,响应于页面获取指令,获取浏览页面的页面参数。
S1502,若浏览页面的页面参数大于预设页面参数,则确定截屏模式为特定截屏模式。
上述步骤S1501~S1502的实现方式可参照图13对应实施例中S1301~S1202所描述的内容,在此不做赘述。
S1503,按照特定截屏模式对浏览页面进行页面截取。
在一实施例中,此步骤的实现方式可以参见图5对应实施例中的步骤S502所提及的内容,如确定为特定截屏模式后,进入特定截屏流程,终端设备可以自动对浏览页面进行滚动显示,并对滚动显示的页面进行截取,即对滚动显示的页面截屏,当然对于页面截取方式在此不做限制。
S1504,在按照特定截屏模式对浏览页面进行页面截取的过程中,若检测到普通截屏指令,则对页面截取过程中的一个显示页面进行截屏处理,得到目标页面。
在一实施例中,可以在特定截屏过程中通过点击固定的功能按钮或者手势或者物理按键触发的普通截屏指令,终端设备可以对检测到该普通截屏指令,并响应于该普通截屏指令进行相应的截屏处理。请参见图16,是本实施例提供的一种特定截屏过程中手势操作普通截屏的界面示意图,如图16所示,用户轻触正在滚动截屏的浏览页面,终端设备可以输出普通截屏图片,即手势操作的那一刻显示在终端设备屏幕中的页面,然后将其自动保存到终端设备中,或者可以由用户选择是否对其进行保存,如果用户不操作则默认是保存。针对通过点击普通截屏按钮启用普通截屏模式,并按照普通截屏模式来对浏览页面当前显示的页面进行截屏处理,得到目标页面的过程,请参见图17,是本实施例提供的另一种特定截屏过程中按钮操作普通截屏的界面示意图,如图17所示,在该执行特定截屏的界面中1701的内容“截屏中”的字样用于提示用户当前的页面正在进行特定截屏,1702则是一个普通截屏按钮,当用户点击该普通截屏按钮之后,终端设备输出目标页面,即点击按钮时展示在屏幕中的页面,其相应的保存规则可以和图16相同。
另外,目标页面除了是响应普通截屏指令时显示在终端设备屏幕中的当前页面,还可以是默认的第一个页面,即在执行特定截屏之前第一次显示在终端设备的显示屏中的浏览页面,可参见图13对应实施例中S1303中对于第一个页面的相关阐述。举例来说,以屏幕顶端为作为参考起点,浏览页面的页面参数是b(位置范围是0-x 1),终端设备的屏幕所能容纳的页面参数为a(位置范围是0-x 2),且b=2a,在执行特定截屏之前,浏览页面显示的页面是0-x 1,这是第一个页面。当进行特定截屏时,滚动或滑动显示浏览页面,显示在屏幕中的当前显示页面是一个内容在不断变化的页面,在这个过程中,截取到的目标页面可以是当前显示页面 (位置范围在0-x1之间且位置范围差固定为a,如x 1-x 2),也可以是第一个页面,即0-X 1范围内的页面。
在一实施例中,对于上述普通截屏指令的确定方法可以包括:在按照特定截屏模式对浏览页面进行页面截取的过程中,输出普通截屏提示信息,若检测到针对普通截屏提示信息的触发操作,则确定检测到普通截屏指令;或,在按照特定截屏模式对浏览页面进行页面截取的过程中,若检测到普通截屏手势操作或普通截屏语音指令,则确定检测到普通截屏指令。可选地,输出的普通截屏提示信息是相关选项或按钮而输出的,终端设备可以检测到针对该普通截屏提示信息的触发操作,即确定是要进行普通截屏,终端设备确定检测到普通截屏指令。可选地,还可以是在特定截屏过程中,如果终端设备检测到普通截屏手势操作,如双击屏幕或者检测到用户向终端设备输入的普通截屏语音指令,如用户直接说“普通截屏”,终端设备会检测该普通截屏语音指令,进而确定检测到普通截屏指令。在此,对普通截屏语音指令和普通截屏手势操作的具体内容在此不做限制。
综上所述,本申请实施例至少具有以下优点:
在特定截屏过程中,用户可以通过相应方式如手势操作、语音指令、按钮按键等触发普通截屏指令,终端设备响应于该普通截屏指令获取普通截屏的页面,为用户提供在特定截屏过程中的普通截屏功能,有效地在特定截屏模式下利用普通截屏功能截取不同内容的页面。
第六实施例
请参见图18,图18是根据第六实施例示出的一种页面获取方法的流程示意图,该实施例中的执行主体可以是一个计算机设备或者是多个计算机设备构成的集群,该计算机设备可以是终端设备(如前述移动终端100),也可以是服务器,此处,以本实施例中的执行主体为终端设备为例进行说明。该方法包括步骤S1801~S1805:
S1801,响应于页面获取指令,获取浏览页面的页面参数。
S1802,若浏览页面的页面参数大于预设页面参数,则确定截屏模式为特定截屏模式。
S1803,按照特定截屏模式对浏览页面进行页面截取。
上述步骤S1801~S1802的实现方式可参照图15对应实施例中S1501~1502所描述的内容,在此不做赘述。
S1804,在检测到页面截取停止指令时,将针对浏览页面当前所截取到的页面确定为特定页面。
在一实施例中,特定截屏过程中用户可以选择中断特定截屏或者等待页面自动或手动完成特定截屏,而无论哪一种方式,终端设备都会检测到页面截取停止指令,该页面截取停止指令可以是用户通过手势、语音等触发的,也可以是用户通过点击终端设备中的停止按钮,例如“结束特定截屏”这一按钮,或物理按键触发的指令,还可以是在浏览页面到达页面底端时终端主动触发的。对于页面截取停止指令的具体触发方式在此不做限定。检测到页面截取停止指令后,终端设备停止对浏览页面进行特定截屏的操作,将从开始特定截屏的时刻到结束特定截屏的时刻之间截取到的页面作为特定页面,其页面参数是大于预设页面参数的。需要说明的是,这里的特定页面和上述第一或第二实施例中的目标页面是相同的表达意思,即按照特定截屏模式对浏览页面进行页面截取得到的页面。
S1805,对特定页面进行处理,得到目标页面。
在一实施例中,对特定页面进行处理,得到目标页面的方式可以是:在特定页面对应的 处理界面中输出普通截屏提示信息;若检测到针对普通截屏提示信息的触发操作,则对特定页面中的一个页面进行截取处理,得到目标页面。可选地,在得到特定页面之后,终端设备会输出特定页面的预览图和一些处理选项,构成处理界面。以前述图10作为本实施例提供的一种特定页面对应处理界面的示意图,在如图10所示的处理界面中可以输出普通截屏提示信息,如询问用户是否执行普通截屏指令的弹窗,或者普通截屏按钮,或者选项等。
可选地,这里的处理界面还可以划分为一级处理界面和二级处理界面,如图10所示的页面可以视为一级处理界面,而通过点击其中的“编辑”选项,可以进入二级处理界面,请参见图19,是本实施例提供的一种特定页面处理操作的界面示意图,如图19所示,左图对应的是图10所示的处理界面,即一级处理界面,右图对应的是二级处理界面,包括“裁剪”“涂鸦”“普通截屏”等功能按钮,通过点击一级处理界面的“编辑”选项可以切换至二级处理界面。该二级处理界面作为“编辑”入口下对应的功能界面,可以在该二级处理界面中可以输出普通截屏提示信息,即普通截屏按钮,用户点击该普通截屏按钮可以实现普通截屏,获取目标页面。需要说明的是,该普通截屏提示信息可以和上述表达形式相同,也可以不同。在这种情况下,一级处理界面可以不输出普通截屏提示信息,避免对用户的重复提示。在检测到触发普通截屏指令的操作后,可以基于特定页面截取一个页面,这一个页面可以是系统默认的第一个页面,也即特定截屏之前的浏览页面第一次展示在终端设备的屏幕中的页面,也可以由用户指定固定长度的页面。
在一实施例中,此步骤的实现方式还可以是:输出页面选择框;响应于页面移动指令,对特定页面进行移动处理;响应于页面确定指令,获取页面选择框中当前所包括的页面,并将获取的页面作为目标页面。可选的,终端设备在截屏得到特定页面之后,不仅要输出特定页面,即在终端设备中显示该特定页面,还会输出页面选择框,该选择框可以是固定大小的,例如与普通截屏模式下的页面参数相同,即是终端设备中显示屏的大小。请参见图20,是本实施例提供的一种处理特定页面的界面示意图,如图20所示,用户可以在终端设备中通过上下拖拽特定页面的方式输入页面移动指令,对特定页面进行移动处理,同时页面选择框固定不动,当用户将特定页面拖拽至某一位置,确定是自己所需要的的页面时,通过点击保存的方式输入页面确定指令,终端设备响应于该页面确定指令,获取页面选择框中所包括的页面并将其作为目标页面。可选地,用户还可以对页面进行放大处理,页面选择框中所包括的放大后的页面也可以作为目标页面。可选地,页面选择框的大小形状也可以由用户自定义调整来得到普通截屏模式对应的目标页面。
可选地,除了上述示出的针对特定页面的处理方式,还可以包括如第二实施例中示出的对特定页面进行拆分处理,即在特定页面对应的处理界面触发拆分页面的指令,得到拆分页面。按照预设页面参数拆分得到的拆分页面中,包括普通截屏模式下的页面,可以将其作为目标页面。
需要说明的是,本实施例中的目标页面是指在特定截屏模式下得到普通截屏模式对应的页面,而第一实施例和第二实施例中的目标页面按照特定截屏模式得到的特定页面。
综上所述,本申请实施例至少具有如下优点:
在对浏览页面进行特定截屏,得到特定页面之后,还可以对该特定页面进行进一步地处理,通过在特定页面对应的处理界面触发普通截屏指令,得到普通截屏模式下对应的页面,进一步丰富了针对特定页面的处理功能。
第七实施例
请参见图21,图21是根据第七实施例示出的一种页面获取装置的结构示意图,该页面获取装置可以是运行于服务器中的一个计算机程序(包括程序代码),例如页面获取装置为一个应用软件;该装置可以用于执行本申请实施例提供的方法中的相应步骤。该页面获取装置包括:确定模块2101、页面截取模块2102、拆分模块2103、响应模块2104。
确定模块2101,用于响应于页面获取指令,根据浏览页面的页面参数确定截屏模式;
页面截取模块2102,用于按照截屏模式对浏览页面进行页面截取,得到目标页面。
在一实施例中,确定模块2101,具体用于:获取浏览页面的页面参数;若浏览页面的页面参数小于或等于第一预设页面参数,则确定截屏模式为普通截屏模式;和/或,若浏览页面的页面参数大于第一预设页面参数,则确定截屏模式为特定截屏模式。
在一实施例中,页面截取模块2102,具体用于:当确定的截屏模式为普通截屏模式时,按照普通截屏模式对浏览页面的当前显示页面进行页面截取,得到目标页面。
在一实施例中,页面截取模块2102,具体还用于:当确定的截屏模式为特定截屏模式时,按照特定截屏模式对浏览页面进行页面截取;在检测到页面截取停止指令时,将针对浏览页面当前所截取到的页面确定为目标页面。
在一实施例中,该页面获取装置还包括:拆分模块2103,用于:根据第二预设页面参数对目标页面进行拆分处理,得到至少两张拆分页面。
在一实施例中,该页面获取装置还包括:响应模块2104,用于响应于拆分页面选择指令,从至少两张拆分页面中选择目标拆分页面;响应于拆分页面处理指令,对目标拆分页面进行相应处理。
可以理解的是,本申请实施例所描述的页面获取装置的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。另外,对采用相同方法的有益效果描述,也不再进行赘述。
第八实施例
请参见图22,图22是根据第八实施例示出的一种页面获取装置的结构示意图,该页面获取装置可以是运行于服务器中的一个计算机程序(包括程序代码),例如页面获取装置为一个应用软件;该装置可以用于执行本申请实施例提供的方法中的相应步骤。该页面获取装置包括:获取模块2201、确定模块2202。
获取模块2201,用于响应于页面获取指令,获取浏览页面的页面参数;
确定模块2202,用于若浏览页面的页面参数大于预设页面参数,则确定截屏模式为特定截屏模式;
获取模块2201,还用于在特定截屏模式下,基于浏览页面获取目标页面。
在一实施例中,获取模块2201,具体用于:在按照特定截屏模式对浏览页面进行滚动页面截取之前,输出普通截屏提示信息;若检测到针对普通截屏提示信息的触发操作,则对浏览页面的当前显示页面进行截屏处理,得到目标页面。
在一实施例中,获取模块2201,具体还用于:按照特定截屏模式对浏览页面进行页面截取;在按照特定截屏模式对浏览页面进行页面截取的过程中,若检测到普通截屏指令,则对页面截取过程中的一个显示页面进行截屏处理,得到目标页面。
在一实施例中,获取模块2201,具体还用于:在按照特定截屏模式对浏览页面进行页面 截取的过程中,输出普通截屏提示信息,若检测到针对普通截屏提示信息的触发操作,则确定检测到普通截屏指令;或,在按照特定截屏模式对浏览页面进行页面截取的过程中,若检测到普通截屏手势操作或普通截屏语音指令,则确定检测到普通截屏指令。
在一实施例中,获取模块2201,具体还用于:按照特定截屏模式对浏览页面进行页面截取;在检测到页面截取停止指令时,将针对浏览页面当前所截取到的页面确定为特定页面;对特定页面进行处理,得到目标页面。
在一实施例中,获取模块2201,具体还用于:在特定页面对应的处理界面中输出普通截屏提示信息;若检测到针对普通截屏提示信息的触发操作,则对特定页面中的一个页面进行截取处理,得到目标页面。
在一实施例中,获取模块2201,具体用于:输出页面选择框;响应于页面移动指令,对特定页面进行移动处理;响应于页面确定指令,获取页面选择框中当前所包括的页面,并将获取的页面作为目标页面。
可以理解的是,本申请实施例所描述的页面获取装置的各功能模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。另外,对采用相同方法的有益效果描述,也不再进行赘述。
本申请还提供一种移动终端设备,终端设备包括存储器、处理器,存储器上存储有页面获取程序,该页面获取程序被处理器执行时实现上述任一实施例中的页面获取方法的步骤。该移动终端设备可以是如图1所示的移动终端100。
可选地,如图1所示的移动终端100的处理器110可以用于调用存储器109中存储的页面获取程序,以执行如下操作:
响应于页面获取指令,根据浏览页面的页面参数确定截屏模式;
按照截屏模式对浏览页面进行页面截取,得到目标页面。
在一实施例中,处理器110具体用于:获取浏览页面的页面参数;若浏览页面的页面参数小于或等于第一预设页面参数,则确定截屏模式为普通截屏模式;和/或,若浏览页面的页面参数大于第一预设页面参数,则确定截屏模式为特定截屏模式。
在一实施例中,处理器110具体用于:当确定的截屏模式为普通截屏模式时,按照普通截屏模式对浏览页面的当前显示页面进行页面截取,得到目标页面。
在一实施例中,处理器110具体用于:当确定的截屏模式为特定截屏模式时,按照特定截屏模式对浏览页面进行页面截取;在检测到页面截取停止指令时,将针对浏览页面当前所截取到的页面确定为目标页面。
在一实施例中,处理器110还用于:根据第二预设页面参数对目标页面进行拆分处理,得到至少两张拆分页面。
在一实施例中,处理器110还用于:响应于拆分页面选择指令,从至少两张拆分页面中选择目标拆分页面;响应于拆分页面处理指令,对目标拆分页面进行相应处理。
可选地,如图1所示的移动终端100的处理器110还可以用于调用存储器109中存储的页面获取程序,以执行如下操作:
响应于页面获取指令,获取浏览页面的页面参数;
若浏览页面的页面参数大于预设页面参数,则确定截屏模式为特定截屏模式;
在特定截屏模式下,基于浏览页面获取目标页面。
在一实施例中,处理器110具体用于:在按照特定截屏模式对浏览页面进行滚动页面截 取之前,输出普通截屏提示信息;若检测到针对普通截屏提示信息的触发操作,则对浏览页面的当前显示页面进行截屏处理,得到目标页面。
在一实施例中,处理器110具体用于:按照特定截屏模式对浏览页面进行页面截取;在按照特定截屏模式对浏览页面进行页面截取的过程中,若检测到普通截屏指令,则对页面截取过程中的一个显示页面进行截屏处理,得到目标页面。
在一实施例中,处理器110还用于:在按照特定截屏模式对浏览页面进行页面截取的过程中,输出普通截屏提示信息,若检测到针对普通截屏提示信息的触发操作,则确定检测到普通截屏指令;或,在按照特定截屏模式对浏览页面进行页面截取的过程中,若检测到普通截屏手势操作或普通截屏语音指令,则确定检测到普通截屏指令。
在一实施例中,处理器110具体用于:按照特定截屏模式对浏览页面进行页面截取;在检测到页面截取停止指令时,将针对浏览页面当前所截取到的页面确定为特定页面;对特定页面进行处理,得到目标页面。
在一实施例中,处理器110具体用于:在特定页面对应的处理界面中输出普通截屏提示信息;若检测到针对普通截屏提示信息的触发操作,则对特定页面中的一个页面进行截取处理,得到目标页面。
在一实施例中,处理器110具体用于:输出页面选择框;响应于页面移动指令,对特定页面进行移动处理;响应于页面确定指令,获取页面选择框中当前所包括的页面,并将获取的页面作为目标页面。
应当理解,本申请实施例中所描述的移动终端可执行前文任一实施例的方法描述,也可执行前文图21或图22所对应实施例中对该页面装置的描述,在此不再赘述。另外,对采用相同方法的有益效果描述,也不再进行赘述。
本申请还提供一种计算机可读存储介质,计算机可读存储介质上存储有页面获取程序,页面获取程序被处理器执行时实现上述任一实施例中的页面获取方法的步骤。
在本申请提供的移动终端和计算机可读存储介质的实施例中,包含了上述页面获取方法各实施例的全部技术特征,说明书拓展和解释内容与上述方法的各实施例基本相同,在此不做再赘述。
本申请实施例还提供一种计算机程序产品,计算机程序产品包括计算机程序代码,当计算机程序代码在计算机上运行时,使得计算机执行如上各种可能的实施方式中的方法。
本申请实施例还提供一种芯片,包括存储器和处理器,存储器用于存储计算机程序,处理器用于从存储器中调用并运行计算机程序,使得安装有芯片的设备执行如上各种可能的实施方式中的方法。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
本申请实施例方法中的步骤可以根据实际需要进行顺序调整、合并和删减。
本申请实施例设备中的单元可以根据实际需要进行合并、划分和删减。
在本申请中,对于相同或相似的术语概念、技术方案和/或应用场景描述,一般只在第一次出现时进行详细描述,后面再重复出现时,为了简洁,一般未再重复阐述,在理解本申请技术方案等内容时,对于在后未详细描述的相同或相似的术语概念、技术方案和/或应用场景描述等,可以参考其之前的相关详细描述。
在本申请中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。
本申请技术方案的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本申请记载的范围。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,被控终端,或者网络设备等)执行本申请每个实施例的方法。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络,或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质,(例如,软盘、存储盘、磁带)、光介质(例如,DVD),或者半导体介质(例如固态存储盘Solid State Disk(SSD))等。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (12)

  1. 一种页面获取方法,其特征在于,所述方法包括:
    响应于页面获取指令,根据浏览页面的页面参数确定截屏模式;
    按照所述截屏模式对所述浏览页面进行页面截取,得到目标页面。
  2. 如权利要求1所述的方法,其特征在于,所述根据浏览页面的页面参数确定截屏模式,包括:
    获取浏览页面的页面参数;
    若所述浏览页面的页面参数小于或等于第一预设页面参数,则确定截屏模式为普通截屏模式;和/或,
    若所述浏览页面的页面参数大于所述第一预设页面参数,则确定所述截屏模式为特定截屏模式。
  3. 如权利要求1所述的方法,其特征在于,所述按照所述截屏模式对所述浏览页面进行页面截取,得到目标页面,包括以下至少一种:
    当确定的截屏模式为普通截屏模式时,按照所述普通截屏模式对所述浏览页面的当前显示页面进行页面截取,得到目标页面;
    当确定的截屏模式为特定截屏模式时,按照所述特定截屏模式对所述浏览页面进行页面截取,在检测到页面截取停止指令时,将针对所述浏览页面当前所截取到的页面确定为目标页面。
  4. 如权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:
    根据第二预设页面参数对所述目标页面进行拆分处理,得到至少两张拆分页面。
  5. 如权利要求4所述的方法,其特征在于,所述方法还包括:
    响应于拆分页面选择指令,从所述至少两张拆分页面中选择目标拆分页面;和/或,响应于拆分页面处理指令,对所述目标拆分页面进行相应处理。
  6. 一种页面获取方法,其特征在于,所述方法包括:
    响应于页面获取指令,获取浏览页面的页面参数;
    若所述浏览页面的页面参数大于预设页面参数,则确定截屏模式为特定截屏模式;
    在所述特定截屏模式下,基于所述浏览页面获取目标页面。
  7. 如权利要求6所述的方法,其特征在于,所述在所述特定截屏模式下,基于所述浏览页面获取目标页面,包括以下至少一种:
    在按照所述特定截屏模式对所述浏览页面进行滚动页面截取之前,输出普通截屏提示信息,若检测到针对所述普通截屏提示信息的触发操作,则对所述浏览页面的当前显示页面进行截屏处理,得到目标页面;
    按照所述特定截屏模式对所述浏览页面进行页面截取,在按照所述特定截屏模式对所述浏览页面进行页面截取的过程中,若检测到普通截屏指令,则对页面截取过程中的一个显示页面进行截屏处理,得到目标页面。
  8. 如权利要求7所述的方法,其特征在于,所述方法还包括以下任一种:
    在按照所述特定截屏模式对所述浏览页面进行页面截取的过程中,输出普通截屏提示信息,若检测到针对所述普通截屏提示信息的触发操作,则确定检测到普通截屏指令;或,
    在按照所述特定截屏模式对所述浏览页面进行页面截取的过程中,若检测到普通截屏手势操作或普通截屏语音指令,则确定检测到普通截屏指令。
  9. 如权利要求6至8中任一项所述的方法,其特征在于,所述在所述特定截屏模式下,基于所述浏览页面获取目标页面,包括:
    按照所述特定截屏模式对所述浏览页面进行页面截取;
    在检测到页面截取停止指令时,将针对所述浏览页面当前所截取到的页面确定为特定页面;
    对所述特定页面进行处理,得到目标页面。
  10. 如权利要求9所述的方法,其特征在于,所述对所述特定页面进行处理,得到目标页面,包括以下至少一种:
    在所述特定页面对应的处理界面中输出普通截屏提示信息,若检测到针对所述普通截屏提示信息的触发操作,则对所述特定页面中的一个页面进行截取处理,得到目标页面;
    输出页面选择框,响应于页面移动指令,对所述特定页面进行移动处理,响应于页面确定指令,获取所述页面选择框中当前所包括的页面,并将获取的页面作为目标页面。
  11. 一种移动终端,其特征在于,所述移动终端包括:存储器、处理器,其中,所述存储器上存储有页面获取程序,所述页面获取程序被所述处理器执行时实现如权利要求1至10中任一项所述的页面获取方法的步骤。
  12. 一种可读存储介质,其特征在于,所述可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至10中任一项所述的页面获取方法的步骤。
PCT/CN2021/102513 2021-06-25 2021-06-25 页面获取方法、移动终端及存储介质 WO2022267045A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2021/102513 WO2022267045A1 (zh) 2021-06-25 2021-06-25 页面获取方法、移动终端及存储介质
CN202180097780.4A CN117280311A (zh) 2021-06-25 2021-06-25 页面获取方法、移动终端及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2021/102513 WO2022267045A1 (zh) 2021-06-25 2021-06-25 页面获取方法、移动终端及存储介质

Publications (1)

Publication Number Publication Date
WO2022267045A1 true WO2022267045A1 (zh) 2022-12-29

Family

ID=84545163

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/102513 WO2022267045A1 (zh) 2021-06-25 2021-06-25 页面获取方法、移动终端及存储介质

Country Status (2)

Country Link
CN (1) CN117280311A (zh)
WO (1) WO2022267045A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260674A (zh) * 2015-09-30 2016-01-20 深圳天珑无线科技有限公司 截屏处理方法、装置及智能终端
CN105718161A (zh) * 2016-01-15 2016-06-29 努比亚技术有限公司 一种终端截屏的方法及装置
CN107678640A (zh) * 2017-09-07 2018-02-09 深圳天珑无线科技有限公司 一种长截屏方法、装置、移动终端及计算机可读存储介质
CN110308860A (zh) * 2019-07-11 2019-10-08 Oppo广东移动通信有限公司 截屏方法及相关装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260674A (zh) * 2015-09-30 2016-01-20 深圳天珑无线科技有限公司 截屏处理方法、装置及智能终端
CN105718161A (zh) * 2016-01-15 2016-06-29 努比亚技术有限公司 一种终端截屏的方法及装置
CN107678640A (zh) * 2017-09-07 2018-02-09 深圳天珑无线科技有限公司 一种长截屏方法、装置、移动终端及计算机可读存储介质
CN110308860A (zh) * 2019-07-11 2019-10-08 Oppo广东移动通信有限公司 截屏方法及相关装置

Also Published As

Publication number Publication date
CN117280311A (zh) 2023-12-22

Similar Documents

Publication Publication Date Title
WO2019228294A1 (zh) 对象分享方法及移动终端
WO2020134744A1 (zh) 图标移动方法及移动终端
WO2021129536A1 (zh) 图标移动方法及电子设备
CN112068744A (zh) 交互方法、移动终端及存储介质
WO2021169954A1 (zh) 搜索方法及电子设备
WO2021073579A1 (zh) 长截图的方法及终端设备
WO2023005060A1 (zh) 拍摄方法、移动终端及存储介质
WO2023015774A1 (zh) 切换方法、移动终端及存储介质
JP7467625B2 (ja) インタフェース表示方法、電子機器およびコンピュータ可読記憶媒体
CN113407081A (zh) 显示方法、移动终端及存储介质
CN113325981A (zh) 处理方法、移动终端及存储介质
WO2022267430A1 (zh) 截屏交互的方法、移动终端及存储介质
WO2022241694A1 (zh) 处理方法、移动终端及存储介质
WO2022267045A1 (zh) 页面获取方法、移动终端及存储介质
CN115494997A (zh) 信息读取方法、智能终端及存储介质
CN114138144A (zh) 控制方法、智能终端及存储介质
CN113342244A (zh) 界面显示方法、移动终端及存储介质
WO2022241695A1 (zh) 处理方法、移动终端及存储介质
WO2024045155A1 (zh) 图标显示控制方法、移动终端及存储介质
WO2023050910A1 (zh) 图标的显示方法、智能终端及存储介质
WO2023092343A1 (zh) 图标区域管理方法、智能终端及存储介质
WO2022252031A1 (zh) 应用的显示方法、移动终端及存储介质
WO2024045184A1 (zh) 处理方法、移动终端及存储介质
WO2022261897A1 (zh) 处理方法、移动终端及存储介质
WO2024045145A1 (zh) 图标显示控制方法、移动终端及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21946537

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 202180097780.4

Country of ref document: CN

NENP Non-entry into the national phase

Ref country code: DE