Method and electronic device for providing screenshot

By determining the scrolling distance and period of multiple views and synthesizing screenshots, the problem of redundant content in multiple scrollable view screenshots in the prior art is solved, and efficient and accurate screenshots are achieved.

CN120752605APending Publication Date: 2025-10-03SAMSUNG ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380095647.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-10
Publication Date
2025-10-03

AI Technical Summary

Technical Problem

The prior art easily generates redundant content and unexpected parts when providing a screenshot including multiple scrollable views, and there are problems with the screenshot method due to different scrolling lengths of the views.

Method used

By determining the scroll distance and scroll period of multiple views, moving the current screen based on an input signal, and synthesizing images including all views to obtain a screenshot, the generation of redundant content is avoided.

Benefits of technology

This method enables accurate capture of desired content in screenshots of multiple scrollable views, avoids redundancy and unnecessary parts, and improves the quality and efficiency of screenshots.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120752605A_ABST
    Figure CN120752605A_ABST
Patent Text Reader

Abstract

The present disclosure relates to a method and an electronic device for providing a screenshot. According to the method disclosed by the invention, an initial screen comprising a plurality of scrollable views can be obtained, and the plurality of views comprise a first view and a second view; and information including the scrolling distance of the first view and the scrolling distance of the second view so as to perform screenshot on the first view and the second view. The method comprises the following steps: determining a minimum value in a scrolling distance of a first view and a scrolling distance of a second view as a scrolling period, and acquiring a current screen moving according to the determined scrolling period for the first view and the second view based on an input scrolling signal; and acquiring images corresponding to the first view and the second view included in the current screen, and acquiring a screenshot by combining the acquired images of the first view and the second view included in the current screen with the initial screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] One or more embodiments relate to a method and an electronic device for providing a screenshot for a screen including scrollable multiple views. Background Art

[0002] With the development of electronic devices, various methods of providing screenshots to users are provided. Since there is a limitation on displaying a screen on a display, a method of providing a screenshot by scrolling is needed.

[0003] When a screen includes multiple scrollable views, taking a screenshot by scrolling one view may result in a screenshot that includes redundant content for other views. Furthermore, since the scrolling lengths of the views differ, this method of taking a screenshot may be problematic. Hereinafter, the present disclosure discloses a method for taking a screenshot of a screen including multiple scrollable views. Summary of the Invention

[0004] Technical Solution According to an embodiment of the present disclosure, a method for providing a screenshot performed by an electronic device may be provided. The method may obtain an initial screen including multiple scrollable views, the multiple views including a first view and a second view, and obtain information for performing a screenshot for the first view and the second view, the information including a scroll distance of the first view and a scroll distance of the second view. The scroll distance of the first view may be the minimum value between the scroll distance of a portion of the first view included in the initial screen and the scroll distance of a portion of the first view excluded from the initial screen, and the scroll distance of the second view may be the minimum value between the scroll distance of a portion of the second view included in the initial screen and the scroll distance of a portion of the second view excluded from the initial screen. The method may determine the minimum value between the scroll distances of the first view and the second view as a scroll cycle, and obtain a current screen that moves according to the scroll cycle for the first view and the second view based on an input scroll signal. The method may obtain images corresponding to the first view and the second view included in the current screen, and obtain a screenshot by synthesizing the obtained images of the first view and the second view included in the current screen with the initial screen.

[0005] According to an embodiment of the present disclosure, an electronic device for providing a screenshot may be provided. The electronic device for providing a screenshot may include: a communication unit; a memory storing one or more instructions; and at least one processor configured to execute the one or more instructions. The at least one processor may obtain an initial screen including a plurality of scrollable views, the plurality of views including a first view and a second view, and obtain information for performing a screenshot for the first view and the second view, the information including a scroll distance of the first view and a scroll distance of the second view. The scroll distance of the first view may be the minimum value between the scroll distance of a portion of the first view included in the initial screen and the scroll distance of a portion of the first view excluded from the initial screen, and the scroll distance of the second view may be the minimum value between the scroll distance of a portion of the second view included in the initial screen and the scroll distance of a portion of the second view excluded from the initial screen. The at least one processor may determine the minimum value between the scroll distance of the first view and the scroll distance of the second view as a scroll cycle, and obtain a current screen that moves according to the scroll cycle for the first view and the second view based on an input scroll signal. The at least one processor may obtain images corresponding to the first view and the second view included in the current screen, and obtain the screenshot by synthesizing the obtained images of the first view and the second view included in the current screen with the initial screen.

[0006] According to an embodiment of the present disclosure, there is provided a non-transitory computer-readable recording medium having recorded thereon a program that, when executed by a computer, executes the above-described method disclosed in the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 is a diagram illustrating a method of performing a screenshot by using scrolling according to an embodiment of the present disclosure.

[0008] Figure 2 is a flowchart illustrating a method of providing a screenshot by using a scroll by an electronic device according to an embodiment of the present disclosure.

[0009] Figure 3 is a schematic block diagram of an electronic device according to an embodiment of the present disclosure.

[0010] Figure 4 is a flowchart schematically illustrating a method for providing a screenshot by using scrolling by an electronic device according to an embodiment of the present disclosure.

[0011] Figure 5 is a flowchart specifically illustrating a method for providing a screenshot by using a scroll by an electronic device according to an embodiment of the present disclosure.

[0012] Figure 6is a diagram illustrating a method of determining, by an electronic device, a distance and a line for providing a screenshot according to an embodiment of the present disclosure.

[0013] Figure 7 is a flowchart illustrating a method of repeatedly performing scrolling by an electronic device according to an embodiment of the present disclosure.

[0014] Figure 8 is a diagram illustrating an example in which an electronic device obtains a screenshot by using scrolling according to an embodiment of the present disclosure.

[0015] Figure 9 is a diagram illustrating a method of determining a scroll period according to an embodiment of the present disclosure.

[0016] Figure 10a 2 is a diagram illustrating a method of providing a screenshot when there is a view scrollable in various directions according to an embodiment of the present disclosure.

[0017] Figure 10b is a flowchart illustrating a method of providing a screenshot when there is a view that can be scrolled in various directions according to an embodiment of the present disclosure.

[0018] Figure 11 is a diagram illustrating a method of customizing settings for providing screenshots according to an embodiment of the present disclosure.

[0019] Figure 12 is a flowchart illustrating a method of automatically providing screenshots according to an embodiment of the present disclosure.

[0020] Figure 13 is a diagram illustrating a method of providing a screenshot through customization for each scroll period according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0021] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings.

[0022] Since the present disclosure allows for various changes and many embodiments, specific embodiments will be shown in the drawings and described in detail in the written description. However, this is not intended to limit the present disclosure to a specific mode of practice, and it should be understood that all modifications, equivalents, and alternatives that do not depart from the spirit and technical scope are included in the present disclosure.

[0023] In the description, when it is considered that a specific detailed explanation of the related art may unnecessarily obscure the essence of the embodiments of the present disclosure, the specific detailed explanation of the related art is omitted. In addition, the numbers (e.g., first, second, etc.) used in the description herein are merely identifiers for distinguishing one component from another.

[0024] All terms used herein (including descriptive terms and technical terms) should be interpreted as having meanings that would be apparent to one of ordinary skill in the art. However, these terms may have different meanings depending on the intentions of those of ordinary skill in the art, precedents, or the emergence of new technologies. In addition, some terms may be arbitrarily selected by the applicant. In such cases, the meaning of the selected terms will be described in the detailed description. Therefore, the terms used herein should be defined based on the meanings of the terms and the descriptions throughout the specification.

[0025] The scope of the present disclosure is indicated by the following claims rather than by the detailed description. Various features recited in one claim category (e.g., method claims) of the present disclosure may also be claimed in another claim category (e.g., system claims). Embodiments of the present disclosure may include not only combinations of features specified in the appended claims but also various combinations of individual features in the claims. Those skilled in the art will understand that various changes in form and details may be made without departing from the spirit and scope of the present disclosure as defined by the appended claims and their equivalents.

[0026] In the present disclosure, when an element is represented as a "unit" or "module," two or more elements may be combined into one element, or one element may be divided into two or more elements according to subdivided functions. Functions may be implemented using hardware, software, or a combination thereof. In addition, each element described below may perform some or all of the functions performed by another element in addition to its own primary function, and some of the primary functions of each element may be fully performed by another component.

[0027] As used herein, unless the context clearly indicates otherwise, the singular form is intended to include the plural form. Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art.

[0028] Throughout this disclosure, unless specifically stated otherwise, the expression "or" is inclusive and not exclusive. Thus, unless the context clearly indicates otherwise, "A or B" may mean "A," "B," or both. Throughout this disclosure, the expression "at least one" or "one or more" may refer to various combinations of one or more of the listed items, or may refer to situations where any one of the listed items is required. For example, "at least one of A, B, and C" may include any of the following combinations: A, B, C, A and B, A and C, B and C, or A, B, and C.

[0029] It should be understood that each block of the flowchart illustration, as well as combinations of blocks in the flowchart illustration, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing device create means for implementing the functions specified in one or more flowchart blocks. These computer program instructions can also be stored in a computer-usable memory or computer-readable memory, which can instruct the computer or other programmable data processing device to function in a specific manner, such that the instructions stored in the computer-usable memory or computer-readable memory produce an article of manufacture comprising instruction means for implementing the functions specified in one or more flowchart blocks. The computer program instructions can also be loaded onto a computer or other programmable data processing device to cause a series of operational steps to be performed on the computer or other programmable device, thereby producing a computer-implemented process, such that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more flowchart blocks.

[0030] In addition, each block of the flowchart diagram may represent a module, segment or portion of code, which includes one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative embodiments, the functions mentioned in the blocks may not occur in order. For example, two blocks shown in succession may actually be executed substantially simultaneously, or the blocks may sometimes be executed in reverse order, depending on the functions involved.

[0031] Hereinafter, one or more embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that a person skilled in the art can implement the present disclosure. However, the present disclosure can be implemented in various ways and is not limited to the one or more embodiments of the present disclosure described herein. In addition, for clarity of description, components not related to the description are omitted in the drawings, and similar reference numerals are used for similar components throughout the specification.

[0032] Terms used herein will be briefly described, and embodiments of the present disclosure will be described in detail.

[0033] The terms to be described below are defined by considering the functions in the present disclosure and may differ according to the intention or practice of the user, operator, etc. Therefore, each term should be defined based on the contents of the entire specification.

[0034] In the present disclosure, 'scroll distance' may mean a minimum value between a scroll distance of a portion included in an initial screen and a scroll distance of a portion excluded from the initial screen in a scrollable view.

[0035] In the present disclosure, a 'scroll period' may refer to a scroll distance for performing scrolling with respect to a plurality of views.

[0036] Figure 1 is a diagram illustrating a method of performing a screenshot using scrolling according to an embodiment of the present disclosure.

[0037] Reference Figure 1 When taking a screenshot of a screen including multiple scrollable views, the differences between the method according to the prior art and the method according to the present disclosure may be described as follows.

[0038] In the prior art, when a screenshot is taken of a screen including a plurality of scrollable views 130a and 130b, the electronic device 10 obtains an initial screenshot 110 and then may perform a screenshot 120 by scrolling. When a screenshot is taken by scrolling a screen including a plurality of scrollable views, scrolling may be performed on one of the plurality of views. For example, a view having the largest size among the plurality of scrollable views may be scrolled. When scrolling is performed on only one of the plurality of scrollable views 130a and 130b, content may be repeatedly shown in the obtained screenshot. For example, when a screenshot (120) is obtained by scrolling only one of the plurality of scrollable views 130a and 130b, since the other view 130a is not scrolled, duplicate content 140 may be included. The screenshot may include unnecessary and redundant content, or may capture an unexpected portion.

[0039] According to an embodiment of the present disclosure, the electronic device 10 can take screenshots of multiple scrollable views. The electronic device can obtain an initial screen including multiple scrollable views. Hereinafter, for ease of description, the multiple scrollable views are referred to as the first view, the second view, etc.

[0040] In an embodiment, the electronic device may obtain information for capturing screenshots of the first view and the second view. The information for capturing the screenshot may include whether scrolling is possible, a scrolling distance, information about the position of the bottom line of each view according to scrolling, or a scrolling period, but is not limited thereto.

[0041] In an embodiment, the electronic device may obtain a current screen in which the first view and the second view move according to the scrolling cycle based on information for performing screenshots. The electronic device may obtain images corresponding to the first view and the second view included in the current screen, and may obtain a screenshot by synthesizing the images with the initial screen. For example, the electronic device may obtain information for capturing screenshots for multiple scrollable views 130a and 130b. The electronic device may identify the scrolling cycle based on the obtained information, and may obtain a current screen in which the multiple views 130a and 130b included in the initial screen move according to the scrolling cycle. The electronic device may obtain a screenshot 150 by synthesizing images corresponding to the multiple views 130a and 130b included in the current screen with the initial screen. Hereinafter, reference will be made to Figure 2 etc. describe the detailed method for determining the rolling period.

[0042] In an embodiment, the electronic device may perform scrolling on the current screen based on an input signal from the user. When the electronic device identifies a condition for continuous scrolling based on the input signal, the electronic device updates the initial screen to the current screen and updates the information for capturing a screenshot. The electronic device may repeatedly perform the above operation on the initial screen updated to the current screen. In an embodiment, the electronic device may repeat the above operation until scrolling cannot be performed on all views of the multiple views, or until an input signal for stopping the operation is received from the user.

[0043] In an embodiment, the electronic device may determine the size of the initial screen or select a view on which capture or screenshot will be performed based on an input signal from the user. The electronic device may set a maximum or minimum value for the initial screen. In addition, the electronic device may set a maximum or minimum value for the scrolling period. In an embodiment, the electronic device may automatically perform scrolling and screenshots based on a user input signal. In the following, reference is made to Figure 12 Describes methods for automating screenshots.

[0044] In an embodiment, the initial screen may include at least one third view. In an embodiment, the scroll direction of the third view may be different from the scroll direction of the first view and the second view. The electronic device may split the screen to include views with the same scroll direction in multiple views, and may obtain a screenshot by scrolling each split screen. The electronic device may obtain a single screenshot by merging the screenshots obtained from the split screens.

[0045] Figure 2 is a flowchart illustrating a method of providing a screenshot by using a scroll by an electronic device according to an embodiment of the present disclosure.

[0046] In operation S210, the electronic device 10 may obtain an initial screen including multiple scrollable views. The multiple views may include a first scrollable view and a second scrollable view. The multiple views may also include at least one third scrollable view. In an embodiment, the scroll direction of the third view may be different from the scroll direction of the first view and the second view.

[0047] In an embodiment, the electronic device 10 may obtain an initial screen including multiple scrollable views of various sizes. The electronic device 10 may determine, based on user input, whether a screenshot of the multiple scrollable views is permitted in order to obtain the initial screen. The multiple scrollable views may include views that are not permitted to be screenshotted due to security or copyright issues.

[0048] In an embodiment, the electronic device 10 may identify whether a screenshot or capture can be performed for the corresponding view based on an input signal for capturing multiple views. When it is identified that a screenshot or capture can be performed, the electronic device 10 may obtain an initial screen including multiple scrollable views and perform operation S220. In an embodiment, when a screenshot or capture of multiple views is not allowed, the electronic device 10 may not perform the next operation.

[0049] In an embodiment, the electronic device 10 may set the size of the initial screen. The electronic device 10 may determine the size of the initial screen based on an input signal from the user. In an embodiment, the electronic device 10 may determine the view to be captured for each scroll cycle from a plurality of views included in the initial screen based on the input signal. For example, the electronic device 10 may include a first view in the capture target and exclude a second view from the capture target from a plurality of scrollable views based on the input signal.

[0050] In operation S220, the electronic device 10 may obtain information for performing a screenshot.The electronic device 10 may obtain information about the first view and the second view in order to perform a screenshot with respect to the first view and the second view.

[0051] In an embodiment, in order for the electronic device 10 to perform a screenshot for the first view and the second view, the electronic device 10 may obtain information for performing the screenshot, the information including a scroll distance, whether scrolling is possible, information about the position of the bottom line of the plurality of views according to scrolling, or a scrolling period. The information for performing the screenshot may include information about each view and information about scrolling, but is not limited thereto.

[0052] The scroll distance may represent the minimum value between the scroll distance of the portion included in the initial screen and the scroll distance of another portion excluded from the initial screen for each view. For example, for the first view, when the portion included in the initial screen is smaller than the other portion excluded from the initial screen, the scroll distance of the first view may represent the scroll distance included in the initial screen. Figure 6 and Figure 8 Describes the detailed method for determining the scroll distance.

[0053] Whether scrolling is possible may indicate information regarding whether scrolling is possible for each of the views. For example, when performing a single scroll for a first view and a second view, an image of the entire first view is obtained using the initial screen and the current screen, while a portion of the second view may be excluded from the initial screen and the current screen obtained after the scroll. When performing a second scroll to obtain a screenshot of the second view, scrolling may not be performed for the first view, and scrolling may be performed only for the second view. Therefore, the information for performing a screenshot may include information indicating that scrolling is not possible for the first view (e.g., an indicator of "0") and information indicating that scrolling is possible for the second view (e.g., an indicator of "1").

[0054] The information about the position of the bottom line of the plurality of views according to the scrolling may indicate the position of the bottom line of the initial screen moved according to the scrolling. For example, when scrolling is performed for the first view and the second view, the position of the bottom line may indicate the position of the initial screen including the first view and the second view moved according to the scrolling cycle. Figure 6 and Figure 8 Describes the information about the lower end line in detail.

[0055] In an embodiment, information for executing a screenshot may be updated as scrolling is executed. The electronic device 10 may obtain the current screen by executing scrolling for an initial screen including a plurality of views. Since scrolling is repeatedly executed for a plurality of views included in the current screen, the electronic device 10 may update information about a scroll distance, position information of a lower end line, whether scrolling is possible, or a scrolling cycle, etc. for each of the views. Figure 7 Describe this.

[0056] In operation S230, the electronic device 10 may determine a scroll period. The electronic device 10 may determine the scroll period based on the information for performing the screenshot obtained in operation S220.

[0057] The scrolling period may represent a scrolling distance for performing scrolling for multiple views. The electronic device 10 may determine the scrolling distance based on the scrolling distances of the multiple views so that the same content may appear in the screenshot without redundancy. In an embodiment, the electronic device 10 may determine the minimum value between the scrolling distance of the first view and the scrolling distance of the second view as the scrolling period. For example, when the scrolling distance of the first view is less than the scrolling distance of the second view, the electronic device 10 may determine the scrolling distance of the first view as the scrolling period. In an embodiment, when there is a scrollable view among the multiple views, the scrolling period may represent the scrolling distance of the scrollable view. For example, when scrolling is completed to the bottom end of the first view and scrolling is performed only for the second view, the scrolling period may represent the scrolling distance of the second view.

[0058] In an embodiment, the electronic device 10 may update the scrolling period based on the scrolling distances of the multiple views updated as scrolling is performed for the multiple views. Figure 6 and Figure 9 Describe the detailed method.

[0059] In operation S240, the electronic device 10 may obtain a current screen that moves in a scroll cycle for the first view and the second view.The electronic device 10 may move in a scroll cycle for the first view and the second view based on an input scroll signal.

[0060] In an embodiment, the electronic device 10 may receive an input signal for performing scrolling on an initial screen including multiple views. Based on the input signal from the user, the electronic device 10 may obtain a current screen that moves according to a scrolling cycle for each of the multiple views included in the initial screen.

[0061] In an embodiment, when a non-scrollable view is included in the plurality of views, the electronic device 10 may perform scrolling in addition to the corresponding view. For example, when scrolling is completed to the bottom end for the first view, the electronic device 10 may obtain a current screen that moves according to the scrolling cycle only for views other than the first view.

[0062] In operation S250, the electronic device 10 may obtain images corresponding to the first view and the second view from the current screen. The electronic device 10 may obtain images not included in the initial screen from the current screen that moves in a scroll cycle with respect to the first view and the second view.

[0063] In an embodiment, the electronic device 10 may obtain an image for synthesizing a screenshot for a plurality of views that are scrolled to capture a screenshot. The electronic device 10 may obtain an image to be synthesized with the screenshot based on information about the positions of the bottom lines of the plurality of views included in the initial screen according to movement according to the scrolling cycle. In an embodiment, the electronic device 10 may identify images of the plurality of views that are not included in the initial screen based on the positions of the plurality of bottom lines and may obtain the corresponding images.

[0064] For example, the electronic device 10 may identify bitmaps of multiple views not included in the initial screen from the current screen by using the position information of the lower end line of the initial screen according to the scroll. The bitmap may include position information of each pixel in the rectangular arrangement of pixels. The electronic device 10 may obtain images to be synthesized with the initial screen for each of the multiple views based on the identified bitmap. Figure 8 Describe the detailed method.

[0065] In operation S260, the electronic device 10 may obtain a screenshot by synthesizing the obtained image with the initial screen. The electronic device 10 may obtain a screenshot by synthesizing the images of the first view and the second view included in the current screen obtained in operation S250 with the initial screen.

[0066] In an embodiment, the electronic device 10 may synthesize an image obtained based on a bitmap with the initial screen. The electronic device 10 may synthesize the image with the initial screen by using a bitmap obtained based on the position information of the bottom line of the initial screen. For example, when obtaining images corresponding to the first view and the second view, the electronic device 10 may identify the positions of the first view and the second view in the initial screen based on the bitmap and synthesize the corresponding images.

[0067] In an embodiment, the electronic device 10 may repeatedly scroll the current screen based on a user input signal. While scrolling, the electronic device 10 may update the initial screen to the current screen and update the information for executing a screenshot. The electronic device 10 may scroll based on the updated information and then synthesize images obtained for each view to generate a screenshot.

[0068] Figure 3 is a schematic block diagram of an electronic device according to an embodiment of the present disclosure.

[0069] Reference Figure 3 , the electronic device 10 according to an embodiment of the present disclosure may include a communication unit 310 that performs communication with an external device (not shown), at least one processor 320 that executes at least one instruction, and a memory 330 that stores at least one instruction. However, instead of Figure 3 All the components in the electronic device 10 are essential components. Figure 3 More components than shown may be implemented or available Figure 3 The components shown in the figure may be implemented with fewer components.

[0070] The communication unit 310 can communicate with an external device (not shown) via a wired / wireless network. Here, the external device (not shown) may represent another electronic device connected via near-field communication. In an embodiment, near-field communication may represent communication via Bluetooth or Wi-Fi connection, but is not limited thereto.

[0071] According to an embodiment of the present disclosure, the communication unit 310 may include at least one communication module (such as a near-field communication module, a wired communication module, a mobile communication module, a broadcast receiving module, etc.). Here, the at least one communication module may refer to a communication module capable of transmitting / receiving data via a network compliant with a communication standard (such as a tuner for receiving broadcasts, Bluetooth, wireless LAN (WLAN), wireless fidelity (WiFi), wireless broadband (Wibro), world interoperability for microwave access (WiMAX), CDMA, WCDMA, etc.). According to an embodiment, the communication unit 310 may receive an input signal from the user regarding a screenshot. The communication unit 310 may transmit a signal to display a screenshot obtained by scrolling to the user. In an embodiment, the communication unit 310 may receive an input signal including information regarding the screen size, scrolling period, the view to be the target of the screenshot, etc., in order to perform the screenshot.

[0072] The processor 320 controls the overall operation of the electronic device 10. For example, the processor 320 may obtain an initial screen including multiple scrollable views based on an input signal regarding a screenshot received through the communication unit 310 by executing instructions stored in the memory 330, etc. The processor 320 may obtain information for executing a screenshot. The information for executing a screenshot may include, but is not limited to, information on the scroll distance of the multiple views, whether scrolling is possible, a scrolling cycle, or information on the position of the bottom line of the multiple views according to the scrolling. In an embodiment, the processor 320 may obtain images corresponding to the multiple views in the current screen obtained according to the scrolling, and synthesize the images to obtain a screenshot. In an embodiment, the processor 320 may be implemented as a plurality of processors.

[0073] The memory 330 may store program commands or codes executed by the processor 320 and may store input / output data (e.g., scroll distance, scroll period, whether scrolling is possible, position information of the bottom line, input signals received for screenshots, etc.). In an embodiment of the present disclosure, the memory 330 may store information for executing screenshots. The memory 330 may update the information for executing screenshots based on scrolling. In an embodiment, the memory 330 may update the current screen to the initial screen based on scrolling. In an embodiment, the memory 330 may be implemented as multiple memories.

[0074] The memory 330 may include at least one type of storage medium selected from the group consisting of a flash memory, a hard disk memory, a multimedia card micro memory, a card-type memory (e.g., an SD or XD memory), a random access memory (RAM), a static RAM (SRAM), a read-only memory (ROM), an electrically erasable and programmable ROM (EEPROM), a programmable programmable memory (PROM), a magnetic memory, a magnetic disk, and an optical disk. In an embodiment of the present disclosure, the memory 330 may store data obtained via the communication unit 310.

[0075] Figure 4 is a flowchart schematically illustrating a method for providing a screenshot by using scrolling by an electronic device according to an embodiment of the present disclosure.

[0076] Reference Figure 4 , which lists operations that the electronic device 10 must perform in order to provide a screenshot by using scrolling. Figure 5 The detailed operation of the electronic device 10 is shown. Figure 2 Provide a description.

[0077] In operation S410, the electronic device 10 may obtain an initial screen. The initial screen may include multiple scrollable views. The multiple views may include a first view and a second view having the same scroll direction. The multiple views may also include at least one scrollable third view. In an embodiment, the scroll direction of the at least one third view may be different from the scroll direction of the first view and the second view.

[0078] In an embodiment, the electronic device 10 may determine whether to allow capture or screenshot of the initial screen. Due to security or copyright issues, the electronic device 10 may not be able to capture or screenshot the initial screen or a view included in the initial screen. In an embodiment, some of the multiple scrollable views included in the initial screen may not be captured or screenshotted. In an embodiment, the electronic device 10 may obtain screenshots other than views that are not allowed to be captured or screenshotted based on an input signal from the user.

[0079] In an embodiment, based on an input signal for capturing multiple views, the electronic device 10 may identify whether screenshot or capture can be performed for the corresponding views. When it is identified that screenshot or capture can be performed for the multiple views, the electronic device 10 may perform operation S420.

[0080] In operation S420, the electronic device 10 may check whether the plurality of views satisfy a scrollable condition. The electronic device 10 may identify whether the plurality of views allowed to be screenshotted or captured are scrollable. For example, when all of the plurality of views included in the initial screen are not scrollable, the electronic device 10 may capture or screenshot the initial screen. The electronic device 10 may complete the operation after obtaining the screenshot of the initial screen.

[0081] In an embodiment, when it is recognized that scrolling is possible with respect to at least one of the plurality of views included in the initial screen, the electronic device 10 may perform operation S430 .

[0082] In operation S430, the electronic device 10 may perform scrolling for the initial screen based on the distance calculation and the line calculation. In an embodiment, the electronic device 10 may perform distance and line calculations for a plurality of views included in the initial screen, respectively.

[0083] In an embodiment, the electronic device 10 may obtain information for performing a screenshot, and the information for performing a screenshot may include but is not limited to a scroll distance, whether scrolling is possible, information about positions of bottom lines of multiple views according to scrolling, or a scroll period.

[0084] In an embodiment, the electronic device 10 may calculate the scroll distance for each of the views. The scroll distance may represent the minimum value between the scroll distance of the portion included in the initial screen and the scroll distance of another portion outside the initial screen for each view. Figure 6 and Figure 8 Describes the detailed method for determining the scroll distance.

[0085] In an embodiment, the electronic device 10 may obtain a scrolling period based on the scrolling distance for each view. The scrolling period may represent the scrolling distance for performing scrolling for multiple views. In an embodiment, the electronic device 10 may determine the scrolling period as the minimum value between the scrolling distance of the first view and the scrolling distance of the second view.

[0086] In an embodiment, the electronic device 10 may calculate position information about the bottom lines of the multiple views. The information about the positions of the bottom lines of the multiple views may indicate the position of the bottom line of the initial screen as it moves due to scrolling. The electronic device 10 may use the position information about the bottom line to identify an image to be synthesized from the entire image of the multiple views on the screen.

[0087] In an embodiment, the electronic device 10 may perform scrolling for a plurality of views included in the initial screen based on the obtained distance and line.The electronic device 10 may perform scrolling for a scrollable view among the plurality of views included in the initial screen based on the calculated scroll period.

[0088] In an embodiment, the electronic device 10 may obtain a current screen moved in a scroll cycle with respect to a plurality of views included in an initial screen.

[0089] In operation S440, the electronic device 10 may generate an image by combining basic bitmaps for each scroll period. The electronic device 10 may obtain an image to be synthesized for each of a plurality of views in a current screen obtained according to each scroll period.

[0090] In an embodiment, the electronic device 10 may identify a basic bitmap based on information about the positions of the lower end lines of the plurality of views. The bitmap may include position information of each pixel in a rectangular arrangement of pixels. The electronic device 10 may obtain an image to be synthesized based on the identified bitmap in order to perform a screenshot of the plurality of views in the current screen. The electronic device 10 may generate an image obtained by synthesizing the obtained image with the initial screen. In the following, reference is made to Figure 8 Describe the detailed method.

[0091] In operation S450, the electronic device 10 may identify a condition regarding whether scrolling is continuously performed. The electronic device 10 may identify whether scrolling is continuously performed based on information for performing screenshot.

[0092] In embodiments, the information used to perform a screenshot may include whether scrolling is possible. Whether scrolling is possible may indicate whether each view is scrollable. For example, when a first scroll is performed for a first view and a second view, an image of the entire first view is obtained from the initial screen and the current screen, while a portion of the second view may be included in neither the initial screen nor the current screen obtained after the scroll is performed. When a second scroll is performed to obtain a screenshot of the second view, scrolling may not be performed for the first view, and scrolling may be performed only for the second view.

[0093] In an embodiment, when the electronic device 10 identifies a condition for continuously performing scrolling based on the information for performing screenshot, the electronic device 10 may perform scrolling according to the next cycle from operation S420. In an embodiment, when the electronic device 10 identifies a condition for discontinuously performing scrolling based on the information for performing screenshot, the electronic device 10 may perform operation S470.

[0094] Operations S420 to S450 are a process in which the electronic device 10 performs screenshots with respect to a plurality of scrollable views, and may be grouped into operation S460 .

[0095] In operation S470, the electronic device 10 may determine a screenshot and display a thumbnail. In an embodiment, when it is recognized that all views among the multiple views cannot be scrolled, the electronic device 10 stops scrolling and may determine a screenshot based on the image synthesized in operation S440. When the electronic device 10 receives an input signal not to perform scrolling for the multiple views or recognizes a condition not to perform scrolling for the multiple views, the electronic device 10 stops scrolling and may determine a screenshot based on the image synthesized in operation S440. When the screenshot is determined, the electronic device 10 may display a thumbnail indicating that the screenshot is complete to the user.

[0096] Figure 5 is a flowchart specifically illustrating a method for providing a screenshot by using a scroll by an electronic device according to an embodiment of the present disclosure.

[0097] Reference Figure 5 , which describes in detail the operations that the electronic device 10 must perform in order to provide a screenshot using scrolling. Figure 5 It specifically shows Figure 4 For the sake of brevity, reference is omitted. Figure 4 Provide a description.

[0098] Operation S410 may include operations S510 to S530. In operation S510, the electronic device 10 may sense a screen capture event. In an embodiment, the electronic device 10 may sense a screen capture event for the initial screen based on an input signal from a user. The initial screen may include multiple views and may include scrollable views. In operation S515, the electronic device 10 may identify whether screen capture is allowed. In an embodiment, screen capture of multiple views included in the initial screen may not be allowed due to security issues or intellectual property issues. The electronic device 10 may identify whether screen capture can be performed for each of the multiple views included in the initial screen. In an embodiment, when it is identified that screen capture cannot be performed, the electronic device 10 may complete the operation. In an embodiment, when it is identified that screen capture of the initial screen can be performed, in operation S520, the electronic device 10 may capture the initial screen. In an embodiment, the electronic device 10 may set the size of the initial screen to be captured based on the input signal.

[0099] Operation S420 may include operations S525 to S540. In operation S525, the electronic device 10 may identify whether a scrollable view exists. The electronic device 10 may identify whether a scrollable view exists among the multiple views included in the initial screen. In an embodiment, when it is identified that the multiple views are not scrollable, the electronic device 10 may determine the initial screen as a screenshot and may display thumbnails (S470). In an embodiment, when it is identified that at least one of the multiple views is scrollable, the electronic device 10 may perform operation S530. In operation S530, the electronic device 10 may display thumbnails and indicators related to scrolling. The electronic device 10 may display the thumbnails and an indicator indicating that scrolling is possible to the user. In an embodiment, the thumbnails may be indicated at the corners of the screen. The thumbnails may include a real-time image of the entire screen. An indicator may be displayed to the user to receive an input signal regarding whether to perform capture of the scrollable view. In operation S535, the electronic device 10 may receive a capture input signal for the scrollable view. In an embodiment, the electronic device 10 may receive an input signal from the user based on the indicator displayed in operation S530, the input signal indicating whether to execute the capture of the scrollable view. In operation S540, the electronic device 10 may identify a continuous execution condition based on the received input signal. In an embodiment, when the electronic device 10 recognizes a signal for stopping the operation for screenshot as a result of identifying the continuous execution condition, the electronic device 10 may determine the image of the current step as a screenshot and may display a thumbnail (S470). In an embodiment, when a signal for continuously executing the capture of the scrollable view is received from the user, the electronic device 10 may perform operation S545.

[0100] Operation S430 may include operations S545 to S555. In operation S545, the electronic device 10 may obtain information about scrollable views. The electronic device 10 may obtain information for performing a screenshot operation on the view to be captured. The information for performing the screenshot may include, but is not limited to, a scrolling distance, whether scrolling is possible, information about the position of the bottom line of multiple views according to scrolling, or a scrolling period. In operation S550, the electronic device 10 may determine distances and lines for multiple scrollable views. The electronic device 10 may determine the scrolling distances for the multiple views, and the scrolling distance may represent, for each of the views, the minimum value between the scrolling distance of a portion included in the initial screen and the scrolling distance of another portion outside the initial screen. The electronic device 10 may determine position information of the bottom line of the multiple scrollable views, and the position information of the bottom line may represent the position where the bottom line of the initial screen moves according to scrolling. In operation S555, the electronic device 10 may perform scrolling for the multiple views based on the distances and lines. In an embodiment, the electronic device 10 may determine the scrolling period based on the scrolling distances for the multiple views. The scrolling period may represent a scrolling distance for performing scrolling for the plurality of views. The electronic device 10 may perform scrolling for a scrollable view in the plurality of views based on the scrolling period. The electronic device 10 may obtain a current screen moved according to the scrolling period for the scrollable view in the plurality of views.

[0101] Operation S440 may include operations S560 to S575. In operation S560, the electronic device 10 may capture the current screen resulting from scrolling the initial screen based on the scrolling cycle. In an embodiment, the electronic device 10 may obtain the current screen obtained by scrolling a plurality of scrollable views according to the scrolling cycle, and perform capture of the current screen. In operation S565, the electronic device 10 may obtain a list of scrolled views. The electronic device 10 may obtain a list indicating scrolled views among a plurality of views included in the initial screen. For example, among a plurality of scrollable views, when a first view scrolls and a second view does not scroll, the list may include information indicating the first view. In operation S570, the electronic device 10 may obtain a bitmap for views included in the list in the current screen. In an embodiment, the electronic device 10 may obtain a bitmap based on position information of a lower end line of each view for views that are scrolled and included in the list. The bitmap may include information related to the position of each pixel in a square arrangement of pixels. In an embodiment, the bitmap may represent position information about an image that is not included in the initial screen but is included in the current screen as the scrolling is performed. Hereinafter, reference will be made to Figure 6 and Figure 8A detailed description is provided. In operation S575, the electronic device 10 may synthesize the image with the initial screen based on the obtained bitmap. The electronic device 10 may obtain an image of a view to be synthesized with the initial screen based on the bitmap obtained in operation S570. The electronic device 10 may synthesize the obtained image with the initial screen.

[0102] In operation S450, the electronic device 10 may identify a continuous execution condition. In an embodiment, when an input signal for continuously executing capture is identified, the electronic device 10 may return to operation S530 and repeat the operation. In an embodiment, when the continuous execution condition is not identified, the electronic device 10 may perform operation S470.

[0103] In operation S470, the electronic device 10 may determine a screenshot based on the image combined in operation S575 and display a thumbnail. In an embodiment, when it is recognized that scrolling cannot be performed for all views of the plurality of views or an input signal for stopping the screenshot operation is received from the user, the electronic device 10 may stop scrolling and may determine a screenshot based on the image combined in operation S440. When the screenshot is determined, the electronic device 10 may display a thumbnail indicating that the screenshot is completed to the user. In an embodiment, the thumbnail may include an image of the determined screenshot.

[0104] Figure 6 is a diagram illustrating a method of determining, by an electronic device, a distance and a line for providing a screenshot according to an embodiment of the present disclosure.

[0105] Reference Figure 6 , the following describes a method of determining the distance and line for each scrolling cycle in order to provide a screenshot for three scrollable views. In an embodiment, the initial screen 620 obtained for the screenshot may include a plurality of scrollable views 610a, 610b, and 610c.

[0106] In an embodiment, the electronic device 10 may obtain information for performing a screenshot of the plurality of scrollable views 610a, 610b, and 610c. The information for performing the screenshot may include, but is not limited to, scrolling periods 630a and 630b, scrolling distances, whether scrolling is possible, or information 640a and 640b regarding positions of the bottom lines of the plurality of views according to scrolling.

[0107] The electronic device 10 may determine a scroll distance for the plurality of scrollable views 610a, 610b, and 610c. The scroll distance may represent, for each of the views, the minimum value between the scroll distance of the portion included in the initial screen and the scroll distance of another portion outside the initial screen. For example, since the current distance 650 of the third view 610c included in the initial screen 620 in the first cycle is less than the remaining distance 660 of the third view excluded from the initial screen 620, the scroll distance of the third view 610c may represent the current distance 650 included in the initial screen 620.

[0108] Therefore, the first scrolling distance for the first view 610a in the first cycle may represent the scrolling distance of the portion of the first view 610a included in the initial screen 620, the first scrolling distance for the second view 610b represents the scrolling distance of the portion of the second view 610b included in the initial screen 620, and the first scrolling distance for the third view 610c represents the scrolling distance 650 of the portion of the third view 610c included in the initial screen 620.

[0109] In addition, the second scrolling distance for the first view 610a in the second cycle represents the scrolling distance of the portion of the first view 610a included in the first scrolling cycle 630a, the second scrolling distance for the second view 610b represents the scrolling distance of the portion of the second view 610b other than the first scrolling cycle 630a, and the second scrolling distance for the third view 610c represents the scrolling distance of the portion of the third view 610c included in the first scrolling cycle 630a.

[0110] The electronic device 10 may determine scrolling periods 630a and 630b based on the multiple views 610a, 610b, and 610c. The scrolling period may represent a scrolling distance for performing scrolling on the multiple views. The electronic device 10 may identify the minimum value among the scrolling distances for the multiple views 610a, 610b, and 610c as the scrolling period. For example, the first scrolling period 630a may represent a first scrolling distance of the second view 610b, wherein the first scrolling distance of the second view 610b has the minimum value among the first scrolling distances of the multiple views 610a, 610b, and 610c. In addition, the second scrolling period 630b may represent a second scrolling distance of the second view 610b.

[0111] Whether scrolling is possible may indicate whether further scrolling can be performed for each of the multiple views when scrolling is repeatedly performed to perform a screenshot. For example, when scrolling is performed for the multiple views 610a, 610b, and 610c in the second cycle, the entire image of the second view 610b may be obtained. When scrolling is performed in the third cycle, scrolling may not be performed for the second view 610b. Therefore, the information for performing a screenshot operation may include information indicating that scrolling is not possible for the second view 610b (e.g., an indicator of "0"), and information indicating that scrolling is possible for the first view 610a and the third view 610c (e.g., an indicator of "1").

[0112] When scrolling is completed for the plurality of views 610a, 610b, and 610c according to the second scrolling period, scrolling may no longer be performed for the second view 610b, and thus scrolling may be performed only for the first view 610a and the third view 610c according to the third scrolling period. Therefore, the third scrolling period may be determined as the minimum value between the third scrolling distance of the first view 610a and the third scrolling distance of the third view 610c.

[0113] The information regarding the position of the bottom line of the plurality of views according to scrolling may indicate the position of the bottom line of the initial screen according to the scrolling. For example, when scrolling is performed on the plurality of views 610a, 610b, and 610c included in the initial screen 620 according to the first scrolling cycle 630a, a line 640a of the first cycle (i.e., information regarding the position of the bottom line of the initial screen 620) may be determined.

[0114] In addition, when the scroll is moved according to the second scroll cycle 630b, the line 640b of the second cycle may be determined. The electronic device 10 may obtain images of the multiple views 610a, 610b, and 610c to be synthesized with the initial screen based on the information 640a and 640b of the lower end lines. Figure 8 and Figure 9 Describe the detailed method.

[0115] Figure 7 is a flowchart illustrating a method of repeatedly performing scrolling by an electronic device according to an embodiment of the present disclosure.

[0116] Figure 7 The flowchart of FIG. 1 shows an operation in which the electronic device 10 repeatedly scrolls multiple scrollable views. The electronic device 10 may perform scrolling on an initial screen and then repeatedly scroll by identifying a continuous execution condition for multiple views. The continuous execution condition may include whether at least one scrollable view is included in the multiple views, a user input signal, etc.

[0117] In operation S710, the electronic device 10 may update a list of scrollable views. The list may include information indicating a scrollable view among a plurality of views.

[0118] In an embodiment, the electronic device 10 may obtain information for performing a screenshot operation and may identify whether scrolling is possible for each of a plurality of views based on the obtained information.

[0119] Whether to perform scrolling may indicate whether each view is scrollable. For example, when performing a single scroll for a first view and a second view, an image of the entire first view is obtained using the initial screen and the current screen, while a portion of the second view may be excluded from the initial screen and the current screen obtained after the scroll is performed. When performing a second scroll to obtain a screenshot of the second view, scrolling may not be performed for the first view, and scrolling may be performed only for the second view. Therefore, the information for performing a screenshot may include information indicating that scrolling is not possible for the first view (e.g., an indicator of "0") and information indicating that scrolling is possible for the second view (e.g., an indicator of "1").

[0120] In an embodiment, the electronic device 10 may generate a list of scrollable views based on whether scrolling is possible, and update the list at each scrolling cycle.

[0121] In operation S720, the electronic device 10 may identify whether scrolling is to be performed. The electronic device 10 may identify whether scrolling is to be performed based on a user input signal or an updated list.

[0122] In an embodiment, when updating the list of scrollable views in operation S710, the electronic device 10 may display a thumbnail or an indicator indicating that scrolling is possible to the user. The electronic device 10 may identify whether scrolling is possible based on a user input signal or whether there is a view included in the list.

[0123] In an embodiment, when there is no view included in the list or when a signal for stopping scrolling is received from the user, the electronic device 10 may complete scrolling for the plurality of views. In an embodiment, when there is information that at least one view is included in the list or when a signal for performing scrolling is received from the user, the electronic device 10 may perform operation S730.

[0124] In operation S730, the electronic device 10 may perform scrolling based on the scrolling period.The electronic device 10 may identify the scrolling period based on information for performing the screenshot operation.

[0125] The scrolling period may represent a scrolling distance for performing scrolling on multiple views. The electronic device 10 may determine the scrolling distance based on the scrolling distances of the multiple views so as to perform scrolling so that the same content does not appear redundantly in the screenshot. For example, when there are a first view and a second view that can be scrolled, the electronic device 10 may determine the minimum value between the scrolling distance of the first view and the scrolling distance of the second view as the scrolling period.

[0126] The electronic device 10 may obtain a current screen that moves according to a scrolling cycle for multiple scrollable views. The electronic device 10 may perform a screenshot or capture of the current screen. In an embodiment, the electronic device 10 may obtain images corresponding to the multiple scrollable views from the current screen based on the information used to perform the screenshot operation.

[0127] In operation S740, the electronic device 10 may detect a continuous condition for each view. The electronic device 10 may identify whether scrolling can be performed on each of the plurality of views.

[0128] In an embodiment, when at least one of the multiple views is not scrollable, the electronic device 10 may update the list of scrollable views (S710). For example, when scrolling of a first view among the multiple views is completed in operation S730 and no further scrolling of the first view is possible, the electronic device 10 may delete information about the first view from the list.

[0129] In an embodiment, when the multiple views are all scrollable, the electronic device 10 may return to operation S720 and identify whether to perform scrolling. When it is identified that scrolling is not performed for the multiple views after performing operation S720, the electronic device 10 may end the operation, and when a condition for performing scrolling is identified, the electronic device 10 may perform operation S730.

[0130] In an embodiment, when scrolling is repeatedly performed, the electronic device 10 may synthesize multiple images corresponding to the multiple views with the initial screen to obtain a screenshot including images corresponding to the multiple views in each cycle. In an embodiment, the electronic device 10 may synthesize the multiple images with the initial screen using a bitmap to obtain a screenshot.

[0131] Figure 8 is a diagram illustrating an example in which an electronic device obtains a screenshot by using scrolling according to an embodiment of the present disclosure.

[0132] Reference Figure 8, the electronic device 10 can perform a screenshot operation on the plurality of scrollable views 810a and 810b. The scrollable first view 810a can be divided into regions A, B, C, and D according to the scrolling period or the position information of the lower end line. The scrollable second view 810b can be divided into regions E and F according to the scrolling period or the position information of the lower end line.

[0133] In an embodiment, the initial screen 830 may include areas A and B in the scrollable first view 810a and area E in the scrollable second view 810b. The electronic device 10 may obtain information for performing a screenshot operation for the first view 810a and the second view 810b. The information for performing a screenshot operation may include, but is not limited to, whether scrolling is possible, a scrolling distance, a scrolling cycle, information about a lower end line, and the like. Based on the information for performing a screenshot operation, the electronic device 10 may perform scrolling for the multiple views 810a and 810b and obtain a screenshot.

[0134] The scroll distance of each view may represent the minimum value between the scroll distance of the portion included in the initial screen and the scroll distance of the portion outside the initial screen. For example, the scroll distance for the first view 810a may represent the distance between regions A and B or the distance between regions C and D, because the scroll distance between regions A and B included in the initial screen is equal to the scroll distance between regions C and D, which are not included in the initial screen. The scroll distance for the second view 810b may also represent the distance between region E or the distance between region F, because region E included in the initial screen and region F, which are not included in the initial screen, have the same scroll distance.

[0135] The scrolling period is a scrolling distance for performing scrolling on the multiple views 810a and 810b without overlapping areas, and may represent a minimum value of the scrolling distances of the multiple views 810a and 810b. For example, since the scrolling distance of the second view 810b is less than the scrolling distance of the first view 810a, the scrolling distance of the second view 810b may be determined as the first scrolling period 820a.

[0136] The electronic device 10 may perform scrolling for the first view 810a and the second view 810b based on the first scroll cycle 820a. The current screen obtained after performing the first scroll (840) may include areas corresponding to B and C of the first view 810a and an area corresponding to F of the second view 810b.

[0137] The electronic device 10 may obtain images corresponding to the multiple views 810a and 810b included in the current screen. In an embodiment, the electronic device 10 may obtain images corresponding to the multiple views to be combined with the initial screen from the current screen based on the position information of the lower end line used to obtain the screenshot. For example, when the initial screen 830 is scrolled according to the first scroll cycle 820a, the lower end line of the initial screen moves between 2 and 3 on the y-axis (850). The electronic device 10 may identify that the portions of the multiple views 810a and 810b included in the current screen but not included in the initial screen are areas corresponding to C and F, respectively, based on the position information 850 of the lower end line. The electronic device 10 may obtain a screenshot 860 obtained by obtaining images of the areas corresponding to C and F and combining the images with the initial screen 830.

[0138] In an embodiment, the electronic device 10 may obtain bitmap information about the multiple views 810a and 810b based on the position information of the lower end line. The bitmap may include position information of the multiple views in each area of ​​the rectangularly arranged pixels. The electronic device 10 may obtain images corresponding to the multiple views 810a and 810b from the current image by using the bitmap information.

[0139] In an embodiment, the electronic device 10 may synthesize the images obtained for the plurality of views 810a and 810b with the initial screen after performing the first scroll to obtain a screenshot 860. The electronic device 10 may synthesize an area corresponding to area C of the image obtained after the first scroll as the first view 810a and areas corresponding to areas A and B included in the initial screen of the first view 810a. In addition, the electronic device 10 may synthesize an area corresponding to area F of the image obtained after the first scroll as the second view 810b and an area corresponding to area E included in the initial screen of the second view 810b.

[0140] In an embodiment, the electronic device 10 may update information for taking a screenshot of the first view 810a and the second view 810b after performing the first scroll. For example, since the entire image of the second view 810b is obtained according to the first scroll, an indicator (e.g., "0") indicating that scrolling may not be performed on the second view 810b may be updated. In addition, since the scrollable view is the first view 810a, the scroll distance of the first view 810a is updated, and the scroll distance of the first view 810a may be determined as a scrolling cycle. The electronic device 10 may perform a second scroll on the first view 810a and obtain an image of an area corresponding to D of the first view 810a from the current screen. The electronic device 10 may obtain a screenshot by combining the image of the area corresponding to D of the first view 810a obtained according to the second scroll with the screenshot 860 obtained after the first scroll.

[0141] In an embodiment, the electronic device 10 may repeatedly perform scrolling and screenshots by identifying a continuous execution condition. When the scrolling and screenshot operations are completed, the electronic device 10 may display the determined screenshots to the user via a thumbnail or an indicator. In an embodiment, when a screenshot is obtained by combining area D of the first view 810a, the electronic device 10 may complete the scrolling and screenshot operations. The electronic device 10 may display the obtained screenshots to the user via a thumbnail or an indicator.

[0142] Figure 9 is a diagram illustrating a method of determining a scroll period according to an embodiment of the present disclosure.

[0143] Reference Figure 9 , a method of determining a scroll distance and a scroll period when two scrolls are performed on a scrollable first view 910a and a second view 910b is shown.

[0144] The electronic device 10 may perform screenshots for the plurality of scrollable views 910a and 910b.The electronic device 10 may obtain an initial screen 920 including a portion of the first view 910a and a portion of the second view 910b.

[0145] In an embodiment, the electronic device 10 may obtain information for performing a screenshot operation on the scrollable first view 910a and the second view 910b. The information for performing a screenshot operation may include whether scrolling is possible, a scrolling distance, a scrolling cycle, position information about the bottom line, etc., but is not limited thereto.

[0146] The scroll distance may represent, for each of the views, the minimum value between the scroll distance of the portion included in the initial screen and the scroll distance of another portion outside the initial screen. For example, the electronic device 10 may calculate the scroll distance for the first view 910a and the second view 910b. In the first view 910a, between a distance 1.1930a included in the initial screen 920 and a distance 1.2930b not included in the initial screen 920, the smaller value (i.e., distance 1.2930b) is identified as the first scroll distance of the first view 910a. Furthermore, in the second view 910b, between a distance 2.1930c included in the initial screen 920 and a distance 2.2930d not included in the initial screen 920, the smaller value (i.e., distance 2.1930c) is identified as the first scroll distance of the second view 910b.

[0147] The scrolling cycle may represent a scrolling distance for performing scrolling on multiple views. For example, the electronic device 10 may identify the smaller value between the first scrolling distance 930b of the first view 910a and the first scrolling distance 930c of the second view 910b (i.e., the first scrolling distance 930b of the first view 910a) as the first scrolling cycle 940a.

[0148] In an embodiment, the electronic device 10 may scroll the first view 910a and the second view 910b according to the first scrolling cycle 940a. The electronic device 10 may obtain images corresponding to multiple views in the current screen according to the scrolling. For example, according to the scrolling performed according to the first scrolling cycle 940a, the electronic device 10 may obtain image 1 (950a) of the first view 910a of the first cycle and image 2 (950b) of the second view 910b of the first cycle. The electronic device 10 may combine the obtained images 950a and 950b with the initial screen based on the position information or bitmap information of the lower end line.

[0149] The electronic device 10 may update the information for executing a screenshot based on the scrolling. For example, the entire image of the first view 910 is obtained based on the scrolling in the first cycle, and therefore, additional scrolling of the first view 910a may not be performed. Therefore, regarding whether a screenshot can be performed, the first view 910a may be updated to an indicator (e.g., "0") indicating that scrolling is not required. In addition, since only the second view 910b can be screenshotted, the electronic device 10 may determine the scrolling distance of the second view as the second scrolling cycle 940b. The electronic device 10 may scroll based on the second scrolling cycle 940b and obtain image 3 950c of the second view of the second cycle. The electronic device 10 may combine the obtained image 3 (950c) with the previously obtained screenshot.

[0150] In an embodiment, when the multiple views 910a and 910b cannot be scrolled or when an input signal for stopping scrolling is received, the electronic device 10 may terminate the operation. When the operation is completed, the electronic device 10 may provide the user with the obtained screenshot via a thumbnail or indicator. For example, the electronic device 10 may complete the scrolling operation for all views by scrolling the second view 910b based on the second scrolling cycle 940b. The electronic device 10 may display an indicator or a confirmed screenshot to the user indicating that the scrolling or screenshot operation is completed.

[0151] Figure 10a 2 is a diagram illustrating a method of providing a screenshot when there is a view scrollable in various directions according to an embodiment of the present disclosure.

[0152] Reference Figure 10a The initial screen may include multiple scrollable views. In an embodiment, the scrolling directions of the multiple scrollable views may all be the same. Alternatively, the scrolling directions of the multiple scrollable views may be different from each other.

[0153] In an embodiment, the electronic device 10 may split the multiple views into at least one screen according to the scrolling direction. For example, the electronic device 10 may split the entire screen into a first screen 1010a including a view that can be scrolled to the left, a second screen 1010b including a view that can be scrolled downward, and a third screen 1010c including a view that can be scrolled to the right. In an embodiment, the first screen 1010a, the second screen 1010b, and the third screen 1010c may each include multiple scrollable views.

[0154] In an embodiment, the electronic device 10 may perform an operation for obtaining screenshots for the respective screens 1010a, 1010b, and 1010c. Figures 2 to 5 Describes how to take a screenshot from the screen.

[0155] In an embodiment, as a result of performing a screenshot operation on each of the first screen 1010a, the second screen 1010b, and the third screen 1010c, the electronic device 10 may obtain images 1020a, 1020b, and 1020c of a plurality of views. The electronic device 10 may obtain one screenshot 1030 by combining the obtained images. Figure 10b The detailed operation of the electronic device 10 is described.

[0156] Figure 10b is a flowchart illustrating a method of providing a screenshot when there is a view that can be scrolled in various directions according to an embodiment of the present disclosure.

[0157] In the following, references are omitted for the sake of brevity. Figure 4 and Figure 5 Provide a description.

[0158] In operation S1010, the electronic device 10 may sense a screen capture event. In operation S1020, the electronic device 10 that sensed the screen capture event may determine whether screen capture is permitted. The multiple views targeted for screen capture may include views that are not permitted to be captured or screenshotted due to security or copyright issues. When all views in the multiple views are not permitted to be captured or screenshotted, the electronic device 10 may complete the operation. When it is determined that screen capture is permitted, the electronic device 10 may perform operation S1030.

[0159] In operation S1030, the electronic device 10 may obtain a screen list for each scroll direction. A screen that is a target to be captured may include a plurality of scrollable views.

[0160] In an embodiment, the plurality of views may include views that can be scrolled in different directions. To take a screenshot of a view that can be scrolled in different directions, the electronic device 10 may obtain a screen obtained by dividing the plurality of views according to a scrolling direction, and may obtain a list including information about the obtained screen. The list may include information about the screen divided according to the scrolling direction, information about the scrolling direction, etc., but is not limited thereto.

[0161] In operation S1040, the electronic device 10 may detect a continuation condition for each screen.The electronic device 10 may detect a continuation condition regarding a scroll or screenshot operation for each of screens obtained by splitting a plurality of views according to a scroll direction.

[0162] In an embodiment, the electronic device 10 obtains information for performing screenshot for each screen and may detect a continue condition based on whether scrolling is possible for multiple views, a scroll cycle, a scroll distance, or position information of a lower end line included in the information.

[0163] In an embodiment, when the electronic device 10 detects a continue condition for at least one of the screens included in the list obtained in operation S1030, the electronic device 10 may perform operation S1050.

[0164] In an embodiment, when the electronic device 10 does not find the continuation conditions for all screens included in the list obtained in operation S1030, the electronic device 10 may perform operation S1070.

[0165] In operation S1050, the electronic device 10 may perform a screenshot for each of the split screens according to the scroll direction. The electronic device 10 may perform scrolling based on the information for performing a screenshot obtained for each screen and obtain screenshots for a plurality of views. Figures 2 to 5Detailed methods for performing scrolling and taking screenshots are described.

[0166] In operation S1060, the electronic device 10 may determine a screenshot and display a thumbnail. The electronic device 10 may display the determined screenshot to the user via a thumbnail or an indicator. In an embodiment, when it is recognized that scrolling cannot be performed for all of the multiple views included in the screen for each screen, the electronic device 10 stops scrolling on the corresponding screen and may determine a screenshot based on the image obtained in operation S1050.

[0167] When the electronic device 10 receives an input signal not to scroll the multiple views or recognizes a condition not to scroll the multiple views, the electronic device 10 stops scrolling and may determine a screenshot based on the image obtained in operation S1050. When the screenshot is determined, the electronic device 10 may display a thumbnail indicating that the screenshot is complete to the user.

[0168] In an embodiment, when determining the screenshot, the electronic device 10 may perform operation S1040. When the electronic device does not find a continuation condition for all of the split screens according to the scroll direction, the electronic device may perform operation S1070.

[0169] In operation S1070, the electronic device 10 may combine the determined screenshots. The electronic device 10 may generate one screenshot by combining the screenshots for the respective screens determined in operation S1060. In an embodiment, the electronic device 10 may combine the determined screenshots based on a bitmap of the split screen.

[0170] Figure 11 is a diagram illustrating a method of customizing settings for providing screenshots according to an embodiment of the present disclosure.

[0171] Reference Figure 11 , the electronic device 10 may perform settings for providing a screenshot based on a user input signal.

[0172] In an embodiment, the electronic device 10 may display an indicator regarding a customized setting 1110 for a screenshot to the user. The electronic device 10 may receive an input signal (e.g., a touch signal, a voice signal, an input signal via a button, etc.) from the user based on the corresponding indicator. The electronic device 10 may display a thumbnail 1120 for setting customization so as to perform a screenshot based on the received input signal.

[0173] The electronic device 10 may set the size of the initial screen obtained for executing the screenshot. In addition, the electronic device 10 may set the maximum value or minimum value of the scrolling period for executing the screenshot.

[0174] For example, the electronic device 10 may receive an input signal regarding the maximum value of the size of the initial screen or the scrolling period, and may set the maximum value of the size of the initial screen or the maximum value of the scrolling period based on the received signal (1130). In addition, the electronic device 10 may set the minimum value of the size of the initial screen or the minimum value of the scrolling period based on the input signal (1140).

[0175] When the maximum value of the scroll period according to the customized setting is smaller than the scroll period identified by the information for performing the screenshot, the electronic device 10 may perform scrolling with respect to the plurality of views at the scroll period according to the customized setting.

[0176] Figure 12 is a flowchart illustrating a method of automatically providing screenshots according to an embodiment of the present disclosure.

[0177] Reference Figure 12 , the electronic device 10 can automatically perform the operation for providing a screenshot according to the setting. Figures 2 to 5 A detailed operation for obtaining a screenshot is provided. A method of automatically providing the screenshot is: in a case where no input signal other than an input signal indicating execution of a screenshot operation is received from a user, the screenshots are scrolled and provided until no continuous condition is detected for the plurality of views.

[0178] In operation S1210, the electronic device 10 may receive an input signal for an automatic screenshot operation. In order to perform a screenshot operation on a plurality of scrollable views, the electronic device 10 may receive an input signal for instructing to perform the automatic screenshot operation from a user.

[0179] In an embodiment, the electronic device 10 may display an indicator or thumbnail indicating whether to perform an automatic screenshot operation. Based on the indicator or thumbnail, the electronic device 10 may receive an input signal including information indicating the execution of an automatic screenshot operation from the user.

[0180] In operation S1220, the electronic device 10 may perform automatic scrolling and screenshot operations.The electronic device 10 may perform the scrolling and screenshot operations based on information for performing the screenshot operation on the plurality of scrollable views.

[0181] In an embodiment, the electronic device 10 may identify whether to allow screenshots or captures of multiple views included in the initial screen. When it is identified that some of the views cannot be screenshotted or captured, the electronic device 10 may perform automatic scrolling and screenshots only for views that are allowed to be screenshotted or captured.

[0182] In an embodiment, the electronic device 10 may perform scrolling on a plurality of views based on a scrolling cycle and may obtain images of the scrolled views. The electronic device 10 may obtain a screenshot by combining the obtained images.

[0183] In operation S1230, the electronic device 10 may detect a continuation condition. The electronic device 10 may detect a condition regarding whether a scrolling or screenshot operation is continuously performed on a plurality of scrollable views.

[0184] In an embodiment, when scrolling is possible for at least one of the plurality of views without receiving an input signal from the user, the electronic device 10 may recognize that a continue condition exists. When the continue condition is recognized, the electronic device 10 may repeatedly perform operation S1220. For example, when the plurality of views include first to fourth views and when at least one of the first to fourth views is scrollable, scrolling is performed in operation S1220 and an image of the scrolled view may be obtained.

[0185] In an embodiment, when it is recognized that the scrolling or screenshot operation cannot be performed for all views among the plurality of views, the electronic device 10 may perform operation S1240. For example, when it is recognized that the scrolling cannot be further performed for all views included in the first to fourth views on the screen, the electronic device 10 may perform operation S1240.

[0186] In operation S1240, the electronic device 10 may determine a screenshot and display a thumbnail. In an embodiment, when it is recognized that all views in the plurality of views are not scrollable, the electronic device 10 stops scrolling and may determine a screenshot based on the image synthesized in operation S1220. When the screenshot is determined, the electronic device 10 may display a thumbnail indicating that the screenshot is complete to the user. The electronic device 10 may display the determined screenshot to the user via a thumbnail or an indicator.

[0187] Figure 13 is a diagram illustrating a method of providing a screenshot through customization for each scroll period according to an embodiment of the present disclosure.

[0188] Reference Figure 13 , in each scroll cycle, you can select the view to be captured, or you can set the area to be included in the screenshot.

[0189] In an embodiment, the electronic device 10 may provide an option for setting a target for a screenshot. The electronic device 10 may provide option 1310 to completely capture multiple views included in the screen, or option 1320 to perform capture for each view. For example, when option 1320 is set to capture each of the views, the electronic device 10 may perform a screenshot only for the corresponding view among the multiple views, and may not include other views.

[0190] In an embodiment, the electronic device 10 may set a target for screenshots in each scroll cycle. For example, for the initial screen 1330, the electronic device 10 may set a target for screenshots only for the first view. For the first cycle screen 1340, the electronic device 10 may set a target for screenshots for the second and third views in addition to the first view.

[0191] In an embodiment, the electronic device 10 may capture each of the scrollable views separately or capture the views in one screen. For example, the electronic device 10 may perform capture (1350) for each of the scrollable first view, second view, and third view separately. The electronic device 10 may provide the user with screenshots of the first view to the third view separately. Optionally, the electronic device 10 may perform capture (1360) only for some of the multiple scrollable views. For example, capture may be performed on the scrollable first view or third view except the second view. In addition, the electronic device 10 may perform capture (1370) for all views in the multiple scrollable views. For example, the electronic device 10 may capture multiple scrollable views in one screen (1370) instead of capturing the multiple scrollable views separately and displaying the captured images to the user.

[0192] According to an embodiment of the present disclosure, a method for providing a screenshot performed by an electronic device may be provided. The method may obtain an initial screen including multiple scrollable views, the multiple views including a first view and a second view, and obtain information for performing a screenshot operation for the first view and the second view, wherein the information includes a scroll distance of the first view and a scroll distance of the second view. The scroll distance of the first view may be the minimum scroll distance between the scroll distance of the portion of the first view included in the initial screen and the scroll distance of the portion of the first view excluded from the initial screen, and the scroll distance of the second view may be the minimum scroll distance between the scroll distance of the portion of the second view included in the initial screen and the scroll distance of the portion of the second view excluded from the initial screen. The method may determine the minimum value between the scroll distances of the first view and the second view as a scroll cycle, and obtain a current screen that moves according to the scroll cycle for the first view and the second view based on an input scroll signal. The method may obtain images corresponding to the first view and the second view included in the current screen, and synthesize the images of the first view and the second view included in the current screen with the initial screen to obtain a screenshot.

[0193] According to an embodiment, the initial screen may include at least one third view that is scrollable.

[0194] According to an embodiment, when the current screen is obtained, the method may update the initial screen to the obtained current screen. The method may update the information for executing the screenshot based on the updated initial screen, and may determine the scrolling period based on the updated information for executing the screenshot.

[0195] According to an embodiment, the method may identify a scrollable view between the first view and the second view based on information for executing a screenshot, and update the screen moved from the scrollable view according to the determined scrolling period as the current screen. The method may also merge an image of the scrollable view included in the updated current screen but not included in the initial screen with the screenshot.

[0196] According to an embodiment, the information for executing the screenshot may include information regarding whether scrolling is possible for the first view and the second view, or information regarding the position of the bottom line of the initial screen when the first view and the second view move according to the scrolling cycle. The method may obtain images corresponding to the first view and the second view based on the information regarding the position of the bottom line.

[0197] According to an embodiment, the initial screen may include at least one third view scrollable in a direction different from the first view and the second view.

[0198] According to an embodiment, the method may obtain a first initial screen including a first view and a second view and a second initial screen including a third view, and obtain a first screenshot and a second screenshot based on respective scrolling periods for the first initial screen and the second initial screen. The method may merge the first screenshot and the second screenshot.

[0199] According to an embodiment, the method may determine a view targeted for screenshot in each scrolling cycle, a maximum value or a minimum value of the scrolling cycle, or a size of an initial screen.

[0200] According to an embodiment, the method may receive an input signal for executing a screenshot, and identify whether a screenshot operation can be performed for the first view and the second view based on the input signal. The method may obtain an initial screen based on a result of the identification.

[0201] According to an embodiment of the present disclosure, an electronic device for providing a screenshot may be provided. The electronic device for providing a screenshot may include: a communication unit; a memory storing one or more instructions; and at least one processor configured to execute the one or more instructions. The at least one processor may obtain an initial screen including a plurality of scrollable views, the plurality of views including a first view and a second view, and obtain information for performing a screenshot for the first view and the second view, wherein the information includes a scroll distance of the first view and a scroll distance of the second view. The scroll distance of the first view may be the minimum value between the scroll distance of a portion of the first view included in the initial screen and the scroll distance of a portion of the first view excluded from the initial screen, and the scroll distance of the second view may be the minimum value between the scroll distance of a portion of the second view included in the initial screen and the scroll distance of a portion of the second view excluded from the initial screen. The at least one processor may determine the minimum value between the scroll distance of the first view and the scroll distance of the second view as a scroll cycle, and obtain a current screen that moves according to the scroll cycle for the first view and the second view based on an input scroll signal. The at least one processor may obtain images corresponding to the first view and the second view included in the current screen, and obtain the screenshot by synthesizing the obtained images of the first view and the second view included in the current screen with the initial screen.

[0202] According to an embodiment of the present disclosure, there is provided a non-transitory computer-readable recording medium having recorded thereon a program that, when executed by a computer, executes the above-described method disclosed in the present disclosure.

[0203] The machine-readable storage medium may be provided in the form of a non-transitory storage medium. Here, the term "non-transitory" simply means that the storage medium is a tangible device and does not include signals (e.g., electromagnetic waves). The term does not distinguish whether data is stored semi-permanently or temporarily in the storage medium. For example, a "non-transitory storage medium" may include a buffer that temporarily stores data.

[0204] According to an embodiment of the present disclosure, the methods according to the various embodiments disclosed herein may be configured to be included in a computer program product. The computer program product may be traded as a product between a seller and a buyer. The computer program product may be distributed in the form of a machine-readable storage medium (e.g., a compact disc read-only memory (CD-ROM)), or distributed online (e.g., downloaded or uploaded) via an application store (e.g., PlayStore™), or distributed directly between two user devices (e.g., smartphones). When distributed online, at least a portion of the computer program product (e.g., a downloadable app) may be temporarily generated or at least temporarily stored in a machine-readable storage medium, such as a memory on a manufacturer's server, an application store's server, or a relay server.

Claims

1. A method for providing a screenshot by an electronic device, the method comprising: Obtaining an initial screen including a scrollable plurality of views, wherein the plurality of views includes a first view and a second view; obtaining information for performing screenshots for the first view and the second view, wherein the information includes a scroll distance of the first view and a scroll distance of the second view, wherein the scroll distance of the first view is a minimum value between a scroll distance of a portion of the first view included in an initial screen and a scroll distance of a portion of the first view excluded from the initial screen, and the scroll distance of the second view is a minimum value between a scroll distance of a portion of the second view included in the initial screen and a scroll distance of a portion of the second view excluded from the initial screen; determining a minimum value between a scroll distance of the first view and a scroll distance of the second view as a scroll period; obtaining, based on an input scroll signal, a current screen that moves according to the scroll period for the first view and the second view; obtaining images included in a current screen and corresponding to the first view and the second view; and A screenshot is obtained by synthesizing the images of the first view and the second view included in the obtained current screen with an initial screen.

2. The method according to claim 1, wherein The initial screen includes at least one third view that is scrollable.

3. The method according to claim 1 or claim 2, further comprising: When the current screen is obtained, the initial screen is updated to the obtained current screen; as well as Update the information used to perform the screenshot based on the updated initial screen, The scrolling period is determined based on the updated information for executing the screenshot.

4. The method of claim 3, further comprising: identifying a scrollable view between the first view and the second view based on information used to perform the screenshot; Updating a screen moved from the scrollable view according to a determined scrolling period as a current screen; as well as An image of the scrollable view that is included in the updated current screen and not included in the initial screen is merged with the screenshot.

5. The method according to any one of claims 1 to 4, wherein: The information used to perform a screenshot includes: Information about whether scrolling is possible for the first view and the second view, or information about the position of the lower end line of the initial screen when the first view and the second view move according to the scrolling cycle, and The operation of obtaining images corresponding to the first view and the second view includes: Images corresponding to the first view and the second view are obtained based on information about the position of the lower end line.

6. The method according to any one of claims 1 to 5, wherein: The initial screen includes the at least one third view scrollable in a direction different from the first view and the second view.

7. The method of claim 6, further comprising: obtaining a first initial screen including the first view and the second view and a second initial screen including the at least one third view; obtaining a first screenshot and a second screenshot based on respective scrolling periods for the first initial screen and the second initial screen; as well as The first screenshot and the second screenshot are merged.

8. The method according to any one of claims 1 to 7, further comprising: Determine the view that is the target of the screenshot in each scroll cycle, the maximum or minimum value of the scroll cycle, or the size of the initial screen.

9. The method according to any one of claims 1 to 8, wherein: The operations to get the initial screen include: receiving an input signal for performing a screenshot; identifying, based on the input signal, whether a screenshot operation can be performed on the first view and the second view; and An initial screen is obtained based on the result of the recognition.

10. An electronic device for providing screenshots, the electronic device comprising: Communication unit (310); a memory (330) storing one or more instructions; as well as At least one processor (320) is configured to execute the one or more instructions, wherein the at least one processor (320) is configured to: Obtaining an initial screen including a scrollable plurality of views, wherein the plurality of views includes a first view and a second view; obtaining information for performing screenshots for the first view and the second view, wherein the information includes a scroll distance of the first view and a scroll distance of the second view, wherein the scroll distance of the first view is a minimum value between a scroll distance of a portion of the first view included in an initial screen and a scroll distance of a portion of the first view excluded from the initial screen, and the scroll distance of the second view is a minimum value between a scroll distance of a portion of the second view included in the initial screen and a scroll distance of a portion of the second view excluded from the initial screen; determining a minimum value between a scroll distance of the first view and a scroll distance of the second view as a scroll period; obtaining, based on an input scroll signal, a current screen that moves according to the scroll period for the first view and the second view; obtaining images included in a current screen and corresponding to the first view and the second view; and A screenshot is obtained by synthesizing the images of the first view and the second view included in the obtained current screen with an initial screen.

11. The electronic device according to claim 10, wherein: The initial screen includes at least one third view that is scrollable.

12. The electronic device according to claim 10 or claim 11, wherein: The at least one processor (320) is further configured to: When the current screen is obtained, updating the initial screen to the obtained current screen; and Update the information used to perform the screenshot based on the updated initial screen, The scrolling period is determined based on the updated information for executing the screenshot.

13. The electronic device according to claim 12, wherein: The at least one processor (320) is further configured to: identifying a scrollable view between the first view and the second view based on information used to perform the screenshot; Updating a screen moved from the scrollable view according to a determined scrolling period as a current screen; as well as An image of the scrollable view that is included in the updated current screen and not included in the initial screen is merged with the screenshot.

14. The electronic device according to any one of claims 10 to 13, wherein: The information used to perform a screenshot includes: Information about whether scrolling is possible for the first view and the second view, or information about the position of the lower end line of the initial screen when the first view and the second view move according to the scrolling cycle, and The at least one processor (320) is further configured to: Images corresponding to the first view and the second view are obtained based on information about the position of the lower end line.

15. The electronic device according to any one of claims 10 to 14, wherein: The initial screen includes the at least one third view scrollable in a direction different from the first view and the second view.

16. The electronic device according to claim 15, wherein: The at least one processor (320) is further configured to: obtaining a first initial screen including the first view and the second view and a second initial screen including the at least one third view; obtaining a first screenshot and a second screenshot based on respective scrolling periods for the first initial screen and the second initial screen; as well as The first screenshot and the second screenshot are merged.

17. The electronic device according to claim 10, wherein: The at least one processor (320) is further configured to: Determine the view that is the target of the screenshot in each scroll cycle, the maximum or minimum value of the scroll cycle, or the size of the initial screen.

18. The electronic device according to any one of claims 10 to 17, wherein: The at least one processor (320) is further configured to: receiving an input signal for performing a screenshot; identifying, based on the input signal, whether a screenshot operation can be performed on the first view and the second view; as well as An initial screen is obtained based on the result of the recognition.

19. A non-transitory computer-readable recording medium having recorded thereon a program for executing the method according to any one of claims 1 to 9 when the program is executed by a computer.