Information processing device, control method for the same, and program

The information processing device addresses the challenge of incorporating additional information in web page screenshot images by using a browsing and image creation process to generate HEIF files with partial area annotations, improving the representation of web page content.

JP2024114355AInactive Publication Date: 2024-08-23CANON KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023020071
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-13
Publication Date
2024-08-23
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Conventional technologies face difficulties in creating screenshot images of web pages that include information not included in the structured data language description, making it challenging to add annotations and supplementary information to partial areas within the screenshot image.

Method used

An information processing device and method that includes a browsing processing unit to create display data from web page content, an image creation unit to generate a still image, an acquisition unit to obtain annotation information from a web server, and a file creation unit to generate an HEIF file with partial area information and annotations, enabling more suitable creation of screenshot images.

Benefits of technology

Enables the creation of screenshot images with added annotations and supplementary information for partial areas, enhancing the representation of web page content beyond structured data language limitations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024114355000001_ABST
    Figure 2024114355000001_ABST
Patent Text Reader

Abstract

To enable the creation of a screenshot image of a web page in a more suitable format.SOLUTION: An SS server 102 creates display data on the basis of a description of the contents of a web page and creates a still image from the display data. The SS server 102 obtains first annotation information about elements contained in a content description of a web page from a web server 103 and creates an image file on the basis of the still image created on the basis of the content description of the web page above and the first annotation information acquired from the web server.SELECTED DRAWING: Figure 10
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an information processing device, a control method for an information processing device, and a program. [Background technology]

[0002] MPEG (Moving Pictures Experts Group) is standardizing the specifications for files that store still images encoded with H.265 (HEVC). This specification is called HEIF (High Efficiency Image File Format), and is being made into an international standard under the name "Image File Format" in ISO / IEC23008-12 (Part 12). MPEG is currently considering extensions to HEIF, and is considering standardization of RegionItemBox ('rgan') as a metadata structure that specifies an area within an image. RegionItemBox is stored in a HEIF file as an item that holds information indicating a partial area within an image. It is also configured so that annotations can be added to the metadata that indicates this area.

[0003] Also, software such as a web browser is provided that allows an image of a display screen of a web page (hereinafter, for convenience, also referred to as a screenshot image) to be saved as a file. A web page is described in a structured data language such as HTML. Therefore, a screenshot image of the web page is created based on the results of analyzing the description of the web page. For example, Patent Document 1 discloses an example of a technology for saving a screenshot image of a display screen of a web page. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2018-136824 A Summary of the Invention [Problem to be solved by the invention]

[0005] On the other hand, in the conventional technology, when creating a screenshot image of a web page, it is difficult to include information that is not included in the description of the structured data language of the web page in the screenshot image, and it is also difficult to add annotations, supplementary information, etc. to a partial area of ​​the web page in the screenshot image of the web page.

[0006] In view of the above problems, an object of the present invention is to enable creation of a screenshot image of a Web page in a more suitable manner. [Means for solving the problem]

[0007] The information processing device of the present invention is characterized by having a browsing processing means for creating display data based on a content description of a Web page, an image creation means for creating a still image from the display data created by the browsing processing means, an acquisition means for acquiring first annotation information regarding elements included in the content description of the Web page from a Web server, and a file creation means for creating an image file based on the still image created by the image creation means based on the content description of the Web page and the first annotation information acquired from the Web server by the acquisition means. Effect of the Invention

[0008] According to the present invention, it is possible to create a screenshot image of a Web page in a more preferable manner. [Brief description of the drawings]

[0009] [Figure 1] FIG. 1 is a diagram illustrating an example of a use case to which an information processing system is applied. [Diagram 2] FIG. 13 is a diagram showing an example of a screen shot image of a Web page. [Diagram 3] FIG. 1 is a diagram showing an example of the structure of a HEIF file. [Figure 4] This is a diagram showing the format of a RegionItemBox. [Diagram 5] This is a diagram showing the format of ItemInfoBox. [Figure 6] 1 shows the format of ItemInfoEntry. [Figure 7] This is a diagram showing the format of ItemLocationBox. [Figure 8] 13 is a diagram showing the format of UserDescriptionProperty. [Figure 9] FIG. 2 is a sequence diagram showing an example of a processing sequence of the information processing system. [Figure 10] 13 is a flowchart showing an example of a process of the SS server. [Figure 11] FIG. 2 is a diagram illustrating an example of a hardware configuration of an information processing device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, preferred embodiments of the present disclosure will be described in detail with reference to the accompanying drawings. In this specification and the drawings, components having substantially the same functional configurations are denoted by the same reference numerals, and redundant description will be omitted. In addition, in this disclosure, saving the display screen of a web page in an image file is also referred to as a screenshot. In general, the term screenshot often means saving the display of a display of a smartphone, PC, etc. in an image file. However, in this disclosure, unless otherwise specified, it means saving the display screen of a web page in an image file.

[0011] <Introduction> As mentioned above, MPEG is standardizing the specifications for files that store still images encoded with H.265 (HEVC). This specification is called HEIF, and is being made into an international standard under the name "Image File Format" in ISO / IEC23008-12 (Part 12). HEIF specifies a normative file structure that includes metadata, a method for associating metadata with images, and a specific format of metadata structure. This makes it possible to describe in metadata a representation of a single image that is composed of multiple still images, known as a derived image.

[0012] MPEG is currently considering extensions to HEIF, and is considering standardization of RegionItemBox ('rgan') as a metadata structure for specifying regions within an image. RegionItemBox is stored in HEIF files as an item that has information indicating a partial region within an image. It is also configured to allow annotations to be added to the metadata that indicates this region. Methods of adding annotations include storing item properties associated with RegionItemBox, associating other images with RegionItemBox, and associating metadata defined outside HEIF. For example, by associating other images, a specific region within an image can be displayed in detail using other images. As for item properties, it is possible to assign any name, tag information, description, comment, etc. by using UserDescriptionProperty ('udes').

[0013] Also, software such as a web browser is provided that allows a screenshot image of a web page display screen to be saved as a file. A web page browsing process is applied to create a screenshot image of a web page. In the web page browsing process, the description of the web page written in a structured data language such as HTML is analyzed, scripts such as CSS and Javascript are read to dynamically create a display image, and then rendering is performed according to the size of the display screen, and image data of the display screen is output. A file of a screenshot image of a web page is created, for example, by encoding the display image data (display data) output by the browsing process into a still image format. It is also possible to extract link information attached to images and text in the page from the description of the structured data language of the web page and include it in the image file.

[0014] On the other hand, in the conventional technology, when creating a file of a screenshot image of a web page, it is difficult to store information that is not included in the description of the structured data language of the web page in the image file. Therefore, when a file of a screenshot image of a web page is created based on the conventional technology, it is also difficult to add annotations, supplementary information, etc. to a partial area of ​​the screenshot image. In view of the above circumstances, the present disclosure proposes a technique that enables a screenshot image of a web page to be created in a more suitable manner.

[0015] <Use Case> An example of a use case related to creating a file of a screen shot image of a web page will be described as an example of a use case to which the technology according to an embodiment of the present disclosure is applied, with reference to Fig. 1. The information processing system shown in Fig. 1 includes a user device 101, a screen shot (SS) server 102, and a web server 103.

[0016] The user device 101 is a terminal device that a user uses to view a web page. The user device 101 may be realized by a device having functions such as a PC, a smartphone, a tablet terminal, etc., that display a screen, accepts user input, and communicates over a network. The SS server 102 creates a file of a screenshot image of a Web page published on the network, and provides a service that enables the file to be downloaded to other devices (for example, the user device 101) connected via the network. A Web server 103 is a schematic representation of a Web server that publishes a Web page for which the SS server 102 creates a screenshot image file.

[0017] A network 104 diagrammatically illustrates a network between the user device 101 and the SS server 102. The user device 101 accesses the SS server 102 via the network 104 to request the SS server 102 to create a file of a screenshot image of a Web page, and obtains the created file from the SS server 102. Moreover, network 105 shows a schematic network between SS server 102 and Web server 103. SS server 102 creates a screenshot image file for a Web page published by Web server 103. For this purpose, SS server 102 accesses Web server 103 via network 105, for example, to acquire a content description file of the target Web page and an object file constituting the content of the Web page. The content description file of the Web page corresponds to a file for displaying a screen of a Web page described in a structured data language such as HTML. Furthermore, SS server 102 may acquire information such as annotations and supplements that are not included in the description of the Web page from Web server 103 via network 105, for elements included in the description of the Web page. The types of the networks 104 and 105 are not particularly limited, and various networks such as the Internet, a LAN (Local Area Network), a WAN (Wide Area Network), etc. The networks 104 and 105 may be realized as a common network or as different networks.

[0018] In the use case illustrated in FIG. 1, the SS server 102 creates image data for displaying an entire Web page based on the description of the Web page and object data acquired via the network 105. In addition, the SS server 102 creates a file of a screenshot image of the Web page in response to a request from the user device 101. Then, the SS server 102 transmits the created screenshot image file to the user device 101. In the use case illustrated in FIG. 1, a technique for creating a file of a screenshot image of a Web page according to an embodiment of the present disclosure, which will be described in detail later, is applied to the SS server 102.

[0019] <Hardware configuration> An example of the hardware configuration of an information processing device that can be used as devices constituting the information processing system according to this embodiment, such as the SS server 102, the Web server 103, and the user device 101, will be described with reference to FIG.

[0020] The information processing device 1100 includes a central processing unit (CPU) 1104, a random access memory (RAM) 1105, and a read only memory (ROM) 1106. The information processing device 1100 also includes a hard disk drive (HDD) 1107, an input unit 1101, a display unit 1102, and a network I / F unit 1103. The input unit 1101, the display unit 1102, the network I / F unit 1103, the CPU 1104, the RAM 1105, the ROM 1106, and the HDD 1107 are each connected to each other via a data bus 1108 so as to be able to transmit and receive information to and from each other.

[0021] The CPU 1104 performs various controls by reading out a control computer program stored in the ROM 1106, expanding the control computer program in the RAM 1105, and executing the control computer program. The RAM 1105 is used as a work area and a temporary storage area for expanding the program executed by the CPU 1104. The HDD 1107 is a storage area for storing image data, setting parameters, various programs, etc. Instead of the HDD 1107, or together with the HDD 1107, other auxiliary storage devices such as non-volatile memories typified by SSDs (Solid State Drives) may be used.

[0022] The network I / F unit 1103 is a network I / F for connecting the information processing device 1100 to a network such as the Internet, and transmits and receives various information to and from other devices via the network. Image data and the like received from an external device via the network I / F unit 1103 is transmitted and received to the CPU 1104, RAM 1105, and ROM 1106 via a data bus 1108.

[0023] The input unit 1101 is realized by, for example, input devices such as a keyboard, a mouse, a touch panel, etc. The display unit 1102 is realized by, for example, a display device such as a liquid crystal display.

[0024] For example, the CPU 1104 executes a program stored in the ROM 1106 or HDD 1107 to realize processing which will be described later with reference to FIGS.

[0025] <Format> Next, an example of the format of a file of a screen shot image of a Web page will be described with reference to FIGS.

[0026] First, the overall structure of a HEIF file 300 will be described with reference to FIG. Storage area 302 corresponds to a storage area for metadata and is defined as MetadataBox('meta'). Storage area 311 corresponds to a storage area for encoded data and is defined as MediaDataBox('mdat'). 'mdat' in storage area 311 includes, for example, partial area data of a screenshot image of a web page. Storage area 301 corresponds to an area for storing information indicating the format of the target file, and is specified as FileTypeBox('ftyp'). A brand name is written in this storage area 301 so that a reader of the HEIF file can understand the specifications of the file. In this embodiment, it is assumed that 'mif1' is written as the brand name and 'heic' is written as the compatible brand name in the 'ftyp' box of storage area 301.

[0027] The storage area 303 is an area where a handler type for understanding the structure ('meta' structure) of the storage area 302 is declared, and is defined as HandlerReferenceBox('hdlr'). In this embodiment, the handler type name 'pict' is set in the 'hdlr' box. The storage area 304 is an area in which an image item ID that is a representative image among images stored in the HEIF file is specified, and is defined as PrimaryItemBox('pitm'). In this embodiment, an image of the entire display of a web page is specified as the representative image. However, the representative image may be changed as appropriate in response to an instruction from the user device 101. As a specific example, an image in which a part of the entire display of a web page is clipped is specified as an image included in a screenshot image file of the web page. In this case, the item ID of the clipped image may be specified for the storage area 304.

[0028] The storage area 305 is an area in which information indicating the storage location of data for each item, such as an image, in a file is stored, and is defined as ItemLocationBox('iloc'). For example, FIG. 7 shows an example of the format of an 'iloc' box shown as the storage area 305. The information denoted by reference numerals 701 to 705 is information for identifying the location in the file where the item data exists. The information denoted by reference numeral 706, "item_count", indicates the number of items. The information denoted by reference numeral 702 indicates that the item data corresponding to the information denoted by reference numeral 701, indicates the storage location of the item data in the form of a byte offset from the beginning of the file. The value '1' of the information denoted by reference numeral 703, "extent_count", indicates that only one location of the item data exists. The information denoted by reference numeral 704, "extent_offset", specifies the offset location stored in the file, and the information denoted by reference numeral 705, "extent_length", specifies the data length.

[0029] Here, reference is made again to Figure 3. Storage area 306 is an area where the item ID and item type of each item in the HEIF file are defined, and is specified as ItemInfoBox('iinf'). For example, FIG. 5 is a diagram showing an example of the format of an 'iinf' box defined as storage area 306. Storage area 306 includes a data array of ItemInfoEntry denoted by reference numeral 502. Information "extent_count" denoted by reference numeral 501 is the number of elements in the data array. In this embodiment, the screenshot image file includes at least one image. Also, the screenshot image file includes RegionItem('rgan') for the number of partial regions in the screenshot image of the Web page. Therefore, the value of information "extent_count" denoted by reference numeral 501 is the total number of items exemplified above.

[0030] FIG. 6 is a diagram showing an example of the format of ItemInfoEntry, which is each element of the data array indicated by reference numeral 502 in FIG. 5. Information "item_ID" indicated by reference numeral 601 is an identifier (ID) for identifying an item. Information "item_type" indicated by reference numeral 602 is a parameter indicating the type of item. Information "item_name" indicated by reference numeral 603 is a parameter indicating the item name. In this embodiment, 'hvc1' is set in the information "item_type" indicated by reference numeral 602, indicating that the data of the screenshot image of the web page is an image item in the HEVC encoding format. In addition, ('rgan') is set in the item of the partial region information.

[0031] Now, reference is made again to Fig. 3. Storage area 307 is an area in which association information between items is written, and is defined as ItemReferenceBox('iref'). In general, 'iref' is used to describe the association between an image item of a captured image and an item of its shooting information (such as Exif data), or the association between image items in the case of a derived image item made up of multiple image items. In this embodiment, storage area 307 describes the association between an item of partial area information ('rgan') and an image item in a screenshot image file.

[0032] The storage area 308 is an area defined as an ItemPropertiesBox ('iprp') and includes a storage area 309 and a storage area 310. The storage area 309 is an area defined as an ItemPropertyContainerBox ('ipco'). The storage area 310 is an area defined as an ItemPropertyAssociationBox ('ipma'). In the 'ipco' box shown as the storage area 309, data of various attribute information (properties) is described in an arranged manner. Then, in the 'ipma' box shown as the storage area 310, the association between the properties and the items is defined. 'ipco' includes properties indicating the width and height in pixels of the image item, and properties of the HEVC parameter set applied to the decoding of the HEVC image item. 'ipco' also includes a UserDescription ('udes') property that can store any text information.

[0033] FIG. 8 is a diagram showing an example of the format of the 'udes' property. The information "lang" indicated by the reference numeral 801 stores language information. This language information is specified by a language tag string conforming to RFC5646. The contents of the information "name" indicated by the reference numeral 802, the information "description" indicated by the reference numeral 803, and the information "tags" indicated by the reference numeral 804 are described using the language specified by the information "lang" indicated by the reference numeral 801. The name of an item to which the target 'udes' property is associated is specified in the information "name" indicated by the reference numeral 802. Also, the description of the item is described in the information "description" indicated by the reference numeral 803. Similarly, the tag information to be assigned to the item is specified in the information "tags" indicated by the reference numeral 804, separated by a predetermined delimiter such as a comma. In this embodiment, the 'udes' property is used to annotate a partial area item of a screenshot image with a name, description, tag information, and the like. Note that it is possible to write an 'ipma' box so that multiple items can associate a property, so the same 'udes' property can be associated with multiple domain information items.

[0034] Here, reference is made again to FIG. 3. The storage area 311 is an area defined as MediaDataBox('mdat'). The storage area 311 indicated by 'mdat' stores encoded data 312 of an image item in the HEIF file 300 and area information data 313. When multiple image items are stored in an image file, multiple pieces of encoded data 312 are stored. Similarly, when multiple pieces of area information are stored, multiple pieces of area information data 313 are stored. As described above, the encoded data and area information data in 'mdat' can be read by describing the position in the file where the item data is stored in the 'iloc' box indicated as the storage area 305.

[0035] Next, an example of the format of the region information data 313 shown in FIG. 3 will be described with reference to FIG. 4. FIG. 4 shows the format of RegionItemBox('rgan'). The information "reference_width" and "reference_height" with the reference symbols 401 and 402 are information indicating the width and height of the two-dimensional coordinate space referenced by 'rgan'. Normally, the region information presents a partial area of ​​an image stored in a HEIF file, so the frame width and height of any image item in the file are the values ​​of the information indicated by the reference symbols 401 and 402. In this embodiment, a partial area of ​​the screenshot image is stored as data of 'rgan'. Therefore, the values ​​of the information indicated by the reference symbols 401 and 402 are set to the same values ​​as the width and height of the image frame of the entire display of the web page. Also, one 'rgan' box can specify as many regions as the number set as the value of the information "region_count" indicated by reference numeral 403. And, the format is such that any one of the parameter sets from the series of information indicated by reference numerals 404 to 410 is stored for the number of values ​​of region_count. The information "geometry_type" indicated by the reference numeral 404 is a parameter for selecting the type of the shape of the region. The value set in this information specifies which of the information indicated by the reference numerals 405 to 410 corresponds to the parameter set.

[0036] The information indicated by the reference numeral 405 is information indicating that the geometry_type is "0" and the area shape is a point. The information indicated by the reference numeral 406 is information indicating that the geometry_type is "1" and the area shape is a rectangle. The information indicated by the reference numeral 407 is information indicating that the geometry_type is "2" and the area shape is an ellipse. The information indicated by the reference numeral 408 is an area represented by the coordinates of a plurality of points, and is the coordinates of a shape in which the points are connected in order by straight lines. If the geometry_type of this information is "3", it indicates a shape that connects the first and last points to form a polygon, and if the geometry_type is "6", it indicates a polyline that does not connect the first and last points. The information indicated with the reference numeral 409 has a geometry_type of "4", indicating that the shape of the region references a rectangular region within another image item. As a specific example, a mask image item is referenced, making it possible to express the shape of the region in detail based on the brightness values ​​of each pixel in a specified rectangular range of the reference mask image. The information indicated with the reference numeral 410 has a geometry_type of "5", making it possible to express the shape of the region in pixel units using the range of the rectangular region and the mask values ​​of that range, using the coordinates, width, height, and mask value data array within the information. As mentioned above, 'rgan' can specify multiple regions, so multiple regions with different shapes can be stored together. In this embodiment, only one region is stored in the 'rgan' box of one piece of partial region data. In other words, the data for each partial region is stored in a HEIF file that has as many partial region information items as there are partial regions in the screenshot image of the web page.

[0037] Next, an example of a screenshot image and partial area information of a web page created by the SS server 102 will be described with reference to Fig. 2. Note that the file format for storing the screenshot image shown in Fig. 2 is HEIF, and includes screenshot image data and data indicating a partial area within the frame of that image, as well as annotation information and other image data related to the partial area.

[0038] Reference numeral 201 denotes an entire display image of a Web page stored in a screen shot image file. This entire display image 201 is an image of a display screen created by the SS server 102 by analyzing and rendering the description file of the Web page and the content data within the page obtained from the Web server 103. Each of the reference numerals 202 to 209 indicates a partial area in the image. For example, each of the partial areas indicated by the reference numerals 202 to 205 indicates a location in the content of the top header of the webpage where an image object with an embedded hyperlink to another page of the website is placed. In the HEIF file of the screenshot image, a rectangular partial area information item ('rgan') for each of the areas indicated by the reference numerals 202 to 205 is stored. That is, the HEIF file stores partial area data in which the coordinates of the upper left corner of the whole display image 201 of the webpage as the origin, the width, and the height are specified. Furthermore, the 'udes' property describing the URL of each hyperlink embedded in the webpage is listed in the 'ipco' box. Then, the association between the partial area information item and the 'udes' property describing the link destination URL is defined by the information in the 'ipma' box.

[0039] The partial regions indicated by reference numerals 206 and 207 each represent a rectangular region surrounding a character string in the text of the web page. For the partial regions indicated by reference numerals 206 and 207 each, the partial region information item and the 'udes' property describing the annotations and supplementary text related to the character string are stored in the HEIF file of the screenshot image. Then, the association of the above-mentioned series of information is defined in the 'ipma' box.

[0040] The partial areas indicated by the reference numerals 208 and 209 are rectangular partial areas indicating the location of a display window and icon content (a UI generally referred to as a carousel) for switching between and displaying multiple images within a web page. The HEIF file of the screenshot image in this embodiment stores multiple image data items to be displayed by the above content. The 'rgan' of the partial areas indicated by the reference numerals 208 and 209 is associated with the image items to be displayed by the above content of each area in the 'iref' box.

[0041] <Processing> Next, an example of a processing sequence of the information processing system according to this embodiment will be described with reference to FIG. 9, focusing in particular on processing related to creating a screen shot image of a Web page. The processing state indicated by the reference numeral 901 indicates the execution state of processing related to the creation of a screenshot image by the user device 101, and its length indicates the execution period. The user device 101 transmits a request 902 to the SS server 102 to create a screenshot image of a Web page of the Web server 103. This request 902 is implemented, for example, as a WebAPI that uses the HTTP protocol. In addition, in the request 902, the width and height of the image included in the screenshot image file of the web page can be specified. For example, the user device 101 may specify an image size equal to the width and height of the entire web page. Furthermore, in the request 902, an image obtained by clipping a part of the entire display of the web page can be specified as an image included in the screenshot image file of the web page. For example, the user device 101 may specify that the image be clipped to fit the display screen (viewport) of the currently displayed web page. In addition, the request 902 can specify a screenshot image file format of the web page. For example, image file formats include BMP, JPEG, PNG, GIF, TIFF, H.265, WebP, AV1F, HEIF, etc. In this processing sequence, it is assumed that an HEIF file storing an image of the entire display screen of the web page is specified in the screenshot image creation request 902.

[0042] When the SS server 102 receives the request 902, it transitions to a processing state 903 for creating a screenshot image. Then, the SS server 102 uses the URL specified in the request 902 to transmit an HTTP request 904 to the Web server 103 for acquiring the content data of the Web page. Upon receiving the request 904, the Web server 103 reads out a description file of the Web page and object files constituting the content of the Web page by the process indicated by the reference numeral 905. The Web server 103 then transmits the read information to the SS server 102 by an HTTP response 906. Note that HTML files are mainly used as description files for web pages. In addition, CSS files, which are descriptions for creating various decorations such as the layout and design of the page, and script language files for dynamically changing the display on the page and adding various functions may be included. Examples of object data include images such as banners, icons, GUIs, and navigation parts, and file objects such as images, videos, and audio as content.

[0043] When the SS server 102 receives the content data of the Web page in the response 906, it executes a Web browsing process 907. The Web browsing process 907 is a process for analyzing a content description file (e.g., a file written in a structured language) such as an HTML file, and creating display screen data for the entire Web page. Furthermore, in the Web browsing process 907, annotation information of the content within the page is extracted and stored when the HTML description of the Web page is analyzed. Information extracted as annotation information includes: The link URL string specified in the tag's href attribute, the image on the page Examples of such attributes include the string of the alt attribute of a tag, and the label string of the aria-label attribute assigned to an HTML element. Then, the SS server 102 transmits an HTTP request 908 to the Web server to acquire the annotation information. In the request 908, the URL used in the request 904 is specified as the target.

[0044] When the Web server 103 receives the request 908, in the process indicated by the reference numeral 909, it creates annotation information data for the Web page at the specified URL and transmits the data to the SS server 102 in an HTTP response 910. The annotation information transmitted in the response 910 includes the value of the id attribute of an element in the HTML description of the Web page. In other words, the Web server 103 specifies the part of the Web page at the specified URL to which an annotation should be added by the id value of the HTML element. The HTML element is Tags and It may be the ID value of a tag. Furthermore, the Web server 103 transmits data such as text and images linked to the ID value together. The text of the annotation information data is text information associated with the content having the element of the linked id value. Examples of such text information include a sentence explaining the content and a reference URL string related to the content. Also, an image included in the annotation information from the Web server is a reference image associated with the content having the element of the linked id value. Examples of such reference images include images for illustrating the text content with a diagram or graph, and images for supplementing the photo content in the page with other photos.

[0045] When the SS server 102 receives the annotation information data in the response 910, it executes a process of creating a HEIF file as a process indicated by the reference numeral 911. In process 911, the SS server 102 creates HEVC-encoded image data from the display screen data created in the web browsing process 907, and stores it as an image item in the HEIF file. The SS server 102 also calculates the display range on the display screen of the content including the element with the specified id value based on the annotation information data received in the response 910, and stores the partial area information item converted into data in the HEIF 'rgan' box format in the HEIF file. The SS server 102 also creates a 'udes' property having the text of the annotation information received in the response 910, and stores it in the HEIF file. When image data is received in the response 910, the SS server 102 converts it into image data encoded in HEVC and adds it as an image item in the HEIF file. Then, the SS server 102 outputs an HEIF file in which the 'udes' properties and image items created and stored from the annotation information data are associated with the partial region information items. Then, the SS server 102 transmits an HEIF file of the created screenshot image of the web page to the user device 101 as a response 912 to the request 902. The user device 101 then receives the image file (HEIF file) in the response 912, completing the processing sequence shown in FIG.

[0046] Next, an example of a process for creating a screen shot image file by the SS server 102 will be described with reference to FIG. When a series of processes is started in S1001, the SS server 102 receives a request for creating a screenshot image from the user device 101 and analyzes the contents of the request in S1002. Based on the analysis result of the request, the SS server 102 obtains the URL of the Web page for which the screenshot image is to be created, and determines the width and height of the screenshot image to be output and the format of the image file. In S1003, the SS server 102 transmits a request for acquiring a content description file of a target Web page to the Web server 103 indicated by the URL of the target Web page. Specifically, the SS server 102 transmits an HTTP request to the Web server 103 by specifying the path portion and the query portion of the URL string, and receives the content description file of the target Web page from the Web server 103. The SS server 102 also analyzes the content description file of the received Web page, and transmits an HTTP request to the Web server 103 requesting objects that constitute the content of the Web page based on the result of the analysis. However, since the objects constituting the contents of a Web page are not necessarily obtainable from the same Web server, the SS server 102 may specify a URL for obtaining each object, transmit an HTTP request to the Web server 103 corresponding to the URL obtained for each object, and receive the data of the object from the Web server 103.

[0047] In S1004, the SS server 102 determines whether or not all content data of the Web page for which a screenshot image is to be created has been received in S1003. If the SS server 102 determines in S1004 that it has not received all the content data of the Web page for which a screenshot image is to be created, it advances the process to S1005. In this case, in S1005, the SS server 102 transmits a response indicating failure to create a screenshot image to the user device 101 as a response to the request received in S1002. Then, in S1014, the SS server 102 ends the series of processes shown in FIG. On the other hand, if the SS server 102 determines in S1004 that all content data of the Web page for which a screenshot image is to be created has been received, the process proceeds to S1006.

[0048] The process of S1006 is a Web browsing process. In S1006, the SS server 102 analyzes a content description file such as an HTML file, and creates data (display data) of a display screen of the entire Web page in which the described page design and content are reproduced. As described as process 907 in Fig. 9, when analyzing the content description file of the target Web page, the SS server 102 extracts and holds character strings such as link destination URLs and labels assigned to each element as annotation information of the content in the page. The annotation information acquired by analyzing the content description file in S1006 corresponds to an example of the "third annotation information."

[0049] In S1007, the SS server 102 determines whether the format of the image file determined in S1002 is HEIF. If the SS server 102 determines in S1007 that the format of the image file is HEIF, the process proceeds to S1008. On the other hand, if the SS server 102 determines in S1007 that the format of the image file is not HEIF, the process proceeds to S1012.

[0050] In S1008, the SS server 102 transmits a request for acquiring annotation information to the Web server 103 indicated by the URL for which a screenshot image is to be created. The URL of the target Web page is specified in the request for annotation information. The SS server 102 receives the annotation information of the Web page from the Web server 103 as a response to the request. As described as the HTTP response 910 in Fig. 9, the annotation information acquired from the Web server may include the value of the id attribute of an element in the HTML of the Web page, and data such as text and images associated with the id value. The annotation information acquired from the Web server 103 in S1008 corresponds to an example of the "first annotation information."

[0051] In S1009, the SS server 102 determines whether or not the annotation information was acquired from the Web server 103 in S1008. If the SS server 102 determines in S1009 that the annotation information has been acquired from the Web server 103, the process proceeds to S1010. On the other hand, if the SS server 102 determines in S1009 that it has not been able to acquire the annotation information from the Web server 103, it advances the process to S1011.

[0052] In S1010, the SS server 102 creates a HEIF image file. The SS server 102 creates HEVC-encoded image data from the display screen data created in S1006, and stores the image data in the HEIF file as an image item. The SS server 102 also calculates the display range of the content including the element with the specified id value based on the annotation information data acquired in S1008, and stores the partial area information item converted into data in the HEIF 'rgan' box format in the HEIF file. The SS server 102 also creates a 'udes' property from the annotation information text, and stores the property in the HEIF file. When the SS server 102 receives image data as annotation information, it encodes the image data in HEVC and adds it as an image item in the HEIF file. The SS server 102 then outputs a HEIF file in which the 'udes' property and image item created and stored from the annotation information data are associated with the partial area information item. In S1010, the 'udes' property created from the text of the annotation information acquired from Web server 103 in S1008 corresponds to an example of the "second annotation information".

[0053] In S1011, the SS server 102 creates a HEIF image file. As in the process of S1011, the SS server 102 creates HEVC-encoded image data from the display screen data created in S1006, and stores the image data in a HEIF file as an image item. The difference from the process of S1010 is the partial region information item stored in the HEIF file and the information of the 'udes' property associated with the partial region information item. In the process of S1011, these items and information are created based on annotation information of the link destination URL, label, and other character strings that are assigned to the HTML elements held in S1006. In S1011, the 'udes' property created based on the annotation information held in S1006 corresponds to an example of the "second annotation information".

[0054] In S1012, the SS server 102 creates image data in the encoding format of the image file format from the display screen data created in S1006, and creates a file. Note that in this process, the created image file does not store annotations or supplementary information about partial areas of the entire Web page image.

[0055] In S1013, the SS server 102 transmits the image file created in the previous process (the process of S1010, S1011, or S1012) to the user device 101 as a response to the request for creating a screenshot image received in S1002. Then, in S1014, the SS server 102 ends the series of processes shown in FIG.

[0056] In addition, in the processing of S1010 illustrated above, annotation information retained in the Web browsing processing of S1006 may be used when creating partial region information items and 'udes' properties and image items associated with the partial region items. Also, in the above, an example of the process of S1007 in which it is confirmed whether the image file format to be created is HEIF has been described. However, it may be confirmed whether the file format is not limited to HEIF and can store a display screen image (display data) of a web page, information specifying a partial area in the image, and annotation information for the partial area. In that case, the image file format is not limited to HEIF in the processes related to the creation of image files in S1010 and S1011.

[0057] As described above, in this embodiment, the SS server 102 acquires annotation information related to the content in the web page for which a screenshot image is to be created from the web server 103. The SS server 102 then creates a HEIF image file in which the acquired annotation information is stored together with the image data of the screenshot, and in which the annotation information is associated with a partial area in the screenshot image. This makes it possible to store information that is not included in the description of the web page in the image file. Furthermore, it is also possible to include information such as annotations and supplements recommended by the website for a partial area of ​​the display screen of the screenshot image.

[0058] <Other embodiments> The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.

[0059] The disclosure of the present embodiment also includes the following configurations, methods, and programs. (Configuration 1) An information processing device comprising: a browsing processing means for creating display data based on a content description of a Web page; an image creation means for creating a still image from the display data created by the browsing processing means; an acquisition means for acquiring first annotation information regarding elements included in the content description of the Web page from a Web server; and a file creation means for creating an image file based on the still image created by the image creation means based on the content description of the Web page and the first annotation information acquired from the Web server by the acquisition means. (Configuration 2) The information processing device according to configuration 1, wherein after the browsing processing means creates the display data based on the content description, the obtaining means requests the first annotation information from a Web server. (Configuration 3) Further comprising a receiving means for receiving an instruction for taking a screenshot; 3. The information processing apparatus according to configuration 1 or 2, wherein the acquiring means requests the first annotation information from the Web server in response to the acceptance of an instruction for a screenshot by the accepting means. (Configuration 4) The information processing device according to any one of configurations 1 to 3, further comprising an information creation means for creating partial region information including a position and a size of a partial region corresponding to the element in a display screen and second annotation information corresponding to the partial region based on the first annotation information, wherein the file creation means creates the image file in which the still image, the partial region information, and the second annotation information are stored. (Configuration 5) The information processing device described in configuration 4, characterized in that the browsing processing means obtains third annotation information for the partial area in the display screen by analyzing the content description, and the information creation means creates the partial area information and the second annotation information based on at least one of the first annotation information and the third annotation information obtained from the Web server. (Configuration 6) The information processing device described in configuration 5, characterized in that the information creation means creates the partial region information and the second annotation information based on the third annotation information when the first annotation information cannot be obtained from the Web server. (Configuration 7) An information processing device according to any one of configurations 1 to 6, further comprising a designation means for designating a format of an image file to be created by the file creation means, and when the format designated by the designation means is a format compliant with ISO / IEC 23008-12, the file creation means creates the image file based on the still image and the first annotation information. (Configuration 8) An information processing device described in any one of configurations 1 to 7, characterized in that the content description of the Web page is defined by a structured data language, and the browsing processing means creates display data for the Web page by analyzing the content description of the Web page based on the structured data language. (Method 1) A control method for an information processing device, comprising: a browsing processing step for creating display data based on a content description of a Web page; an image creation step for creating a still image from the display data created in the browsing processing step; an acquisition step for acquiring first annotation information related to an element included in the content description of the Web page from a Web server; and a file creation step for creating an image file based on the still image created by the image creation step based on the content description of the Web page and the first annotation information acquired from the Web server by the acquisition step; 2. A method for controlling an information processing device, comprising: (Program 1) A program for causing a computer to function as an information processing device, comprising: a browsing processing means for creating display data based on a content description of a Web page; an image creation means for creating a still image from the display data created by the browsing processing means; an acquisition means for acquiring first annotation information regarding elements included in the content description of the Web page from a Web server; and a file creation means for creating an image file based on a display screen image created by the image creation means based on the content description of the Web page and the first annotation information acquired from the Web server by the acquisition means. [Explanation of symbols]

[0060] 102 SS Server 103 Web Server

Claims

1. A browsing processing means for creating display data based on a content description of a web page; an image creating means for creating a still image from the display data created by the browsing processing means; an acquiring means for acquiring, from a Web server, first annotation information related to an element included in a content description of the Web page; a file creation means for creating an image file based on the still image created by the image creation means based on a content description of the Web page and the first annotation information acquired from the Web server by the acquisition means; An information processing device comprising:

2. 2. The information processing apparatus according to claim 1, wherein after said browsing processing means creates said display data based on said content description, said acquiring means requests said first annotation information from a Web server.

3. The method further includes a receiving means for receiving a request for creating a screenshot image, 2 . The information processing apparatus according to claim 1 , wherein the acquiring means requests the first annotation information from the Web server in response to the acceptance of an instruction to take a screenshot by the accepting means.

4. an information creating unit that creates partial region information including a position and a size of a partial region corresponding to the element in a display screen and second annotation information corresponding to the partial region based on the first annotation information, 2. The information processing apparatus according to claim 1, wherein said file creation means creates said image file in which said still image, said partial region information, and said second annotation information are stored.

5. the browsing processing means analyzes the content description to obtain third annotation information for the partial area within the display screen; The information creating means creates the partial region information and the second annotation information based on at least one of the first annotation information and the third annotation information acquired from the Web server.

5. The information processing device according to claim 4.

6. 6. The information processing device according to claim 5, wherein the information creation means creates the partial region information and the second annotation information based on the third annotation information when the first annotation information cannot be acquired from the Web server.

7. The image processing device further includes a designation unit for designating a format of an image file to be created by the file creation unit, 2. The information processing device according to claim 1, wherein when the format specified by said specification means is a format conforming to ISO / IEC 23008-12, said file creation means creates said image file based on said still image and said first annotation information.

8. the content description of the web page is defined in a structured data language; The browsing processing means generates display data for the Web page by analyzing a content description of the Web page based on the structured data language.

2. The information processing device according to claim 1.

9. A method for controlling an information processing device, comprising: A browsing process step of creating display data based on a content description of a web page; an image creating step of creating a still image from the display data created in the browsing processing step; an acquiring step of acquiring, from a Web server, first annotation information related to an element included in a content description of the Web page; a file creating step of creating an image file based on the still image created in the image creating step based on a content description of the Web page and the first annotation information acquired from the Web server in the acquiring step; 2. A method for controlling an information processing device, comprising:

10. Computer, A browsing processing means for creating display data based on a content description of a web page; an image creating means for creating a still image from the display data created by the browsing processing means; an acquiring means for acquiring, from a Web server, first annotation information related to an element included in a content description of the Web page; a file creation means for creating an image file based on a display screen image created by the image creation means based on a content description of the Web page and the first annotation information acquired from the Web server by the acquisition means; A program for causing an information processing device to function, comprising:

Citation Information

Patent Citations

  • Terminal device, processing method, and program

    JP2018136824A