Web font service method of font service system
The web font service method optimizes web font rendering by generating CSS information and using optimized subsets, addressing slow rendering speeds and user experience issues in web font technologies.
Patent Information
- Application Number
- JP2024517080
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-03-07
- Filing Date
- 2023-02-14
- Publication Date
- 2024-10-23
- Estimated Expiration
- 2043-02-14
AI Technical Summary
Conventional web font rendering methods that require multiple requests for CSS and web font information lead to slow rendering speeds, causing issues like FOIT and FOUT, which negatively impact user experience on websites.
A web font service method that includes a font server and web server system, where the font server processes web font requests by generating CSS information based on collected text data, optimizing font subsets, and applying alternative fonts to minimize time consumption and improve rendering speed.
This method reduces time consumption, network traffic, and costs by optimizing web font downloads, while allowing for seamless font substitution and mixing, enhancing user experience by minimizing rendering delays and improving responsiveness.
Smart Images

Figure 2024538528000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a web font service method of a font service system that provides a web font in response to a web font request. [Background technology]
[0002] Web fonts are a technology for using font files to render text on websites, and their use is increasing as the platforms on which websites are accessed become more diverse, such as mobile and tablet devices, and therefore it becomes more important to quickly render web fonts within the web pages of websites.
[0003] In this regard, conventional web font-related prior art (1. System for transmitting web fonts generated from character combinations requested by a client, and method for transmitting web fonts using the same (Korean Patent Application No. 10-2013-0060836)) operates in a manner that requests and receives CSS information from the font server to render a web page of a single website, and then requests the web font again based on this (a method of making two requests in sequence).
[0004] The method of requesting web font information twice in this prior patent can be a factor that impedes the rendering speed of web pages, and various problems can occur if the rendering speed of web fonts is slowed down.
[0005] For example, if the rendering speed of web fonts slows down, a phenomenon in which text goes from not being displayed to suddenly appearing (FOIT, Flash of Invisible Text) or text flickers and changes (FOUT, Flash of Unstyled Text) may occur, which may cause inconvenience to customers using the website.
[0006] Therefore, there is a need for a web font service method that can improve the rendering speed of a website. Summary of the Invention [Problem to be solved by the invention]
[0007] The present invention aims to provide a web font service method for providing a web font in response to a web font request.
[0008] More specifically, the present invention aims to propose a web font service method for minimizing time consumption due to the use of web fonts and improving the rendering speed of a website. [Means for solving the problem]
[0009] To solve the above technical problems, a web font service method of a font server according to the present invention includes the steps of receiving web font request information from a client provided with website information including HTML tags for executing a web font module, and transmitting web font information to the client based on the web font request information, wherein the web font module generates CSS information including position information of the web font based on text information collected from text within a web page of the website for each font, and adds the CSS information to the website information, and the client recognizes the generated CSS information and transmits the generated web font request information to the font server.
[0010] The method may further include the step of: the font server performing a web font service authentication procedure using the received web font request information and pre-stored user authentication information.
[0011] In addition, the step of adding to the website information may include removing duplicated text from the collected text, and arranging and de-identifying the text in Unicode order to generate text information for each font.
[0012] In addition, the step of adding to the website information may include dividing the collected text, if the length of the text exceeds a predetermined length, to generate text information for each font.
[0013] In addition, the step of adding to the website information may include determining whether or not there is text corresponding to an alternative font among the collected text, and if there is text corresponding to an alternative font, classifying the text corresponding to the alternative font and generating text information for each font.
[0014] The font server may further include the steps of receiving service usage information for using the web font service from a customer, acquiring a web font based on the service usage information, generating a web font module dedicated to the customer based on the acquired web font, and generating an HTML tag for executing the web font module and providing the HTML tag to the customer.
[0015] Also, the step of transmitting the web font information to the client may include generating a font subset based on the web font request information, and transmitting the web font information to the client based on the generated font subset.
[0016] Meanwhile, a web font service method of a web server includes the steps of receiving a request for access to a website from a client, and providing website information including HTML tags for executing a web font module to the client, wherein the web font module generates CSS information including position information of the web font based on text information collected from text within a web page of the website for each font, and adds the CSS information to the website information, and the client recognizes the generated CSS information and transmits the generated web font request information to a font server.
[0017] The method may further include a step of sending service usage information to a font server for using a web font service, and a step of receiving an HTML tag for executing a web font module generated based on the web font service usage information.
[0018] Meanwhile, a font service system for providing a web font service includes a client accessing a website and requesting web font information required for the website, a web server providing website information to the client who has requested access to the website, and a font server providing web font information to the client, wherein the web server provides the website information including HTML tags for executing a web font module to the client when requesting access to the website, and the web font module generates CSS information including position information of the web font based on text information collected from text within a web page of the website for each font and adds the CSS information to the website information, the client recognizes the generated CSS information and transmits the generated web font request information to the font server, and the font server generates web font information based on the web font request information and transmits it to the client.
[0019] Meanwhile, the present invention can be realized as a computer-readable recording medium storing a program for performing the above-mentioned web font service method. Effect of the Invention
[0020] According to the present invention, by using a web font module that collects text in a website by font to generate text information, generates CSS information based on the text information, and inserts the CSS information into an HTML document, it is possible to minimize the time consumed by using web fonts when rendering a web page.
[0021] In addition, the present invention has the effect of reducing the size of web fonts by using an optimized web font subset when providing web font information, thereby shortening the download time of web fonts and reducing network traffic and costs.
[0022] In addition, the present invention has the advantage that by using a web font module to which an alternative font is applied, it is possible to easily replace missing glyphs of a specific font or to mix different fonts to emphasize specific characters. [Brief description of the drawings]
[0023] [Figure 1] 1 is an exemplary diagram illustrating a font service system according to an embodiment of the present invention. [Diagram 2] 4 is a conceptual diagram illustrating a process of registering service usage information for using a web font service according to an embodiment of the present invention. [Diagram 3] 4 is a timing diagram illustrating a process of registering service usage information for using a web font service according to an embodiment of the present invention. [Figure 4] 4 is an exemplary diagram illustrating alternative font information according to an embodiment of the present invention; [Diagram 5]FIG. 2 is an exemplary diagram illustrating HTML tags for implementing a web font module according to an embodiment of the present invention. [Figure 6] 2 is a conceptual diagram illustrating a web font service method according to an embodiment of the present invention. [Figure 7] 2 is a timing diagram illustrating a web font service method according to an embodiment of the present invention. [Figure 8] 1 is an exemplary diagram illustrating a web page screen according to an embodiment of the present invention; [Figure 9] 11 is a conceptual diagram illustrating a process for registering font service usage information according to another embodiment of the present invention. [Figure 10] 11 is a timing diagram illustrating a process of registering font service usage information according to another embodiment of the present invention. [Figure 11] 11 is a conceptual diagram illustrating a method for providing a font service according to another embodiment of the present invention. [Figure 12] 4 is a timing diagram illustrating a method for providing font service according to another embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0024] The following content simply illustrates the principles of the invention. Therefore, those skilled in the art can realize the principles of the invention and invent various devices that fall within the concept and scope of the invention even if not explicitly described or illustrated in the present specification. It should also be understood that all conditional terms and embodiments listed in the present specification are expressly intended for the purpose of making the concept of the invention understandable in principle, and are not limited by the embodiments and conditions specifically listed in this specification.
[0025] The above objects, features and advantages will become more apparent from the following detailed description taken in conjunction with the accompanying drawings, which will enable those skilled in the art to which the invention pertains to easily implement the technical ideas of the invention.
[0026] In addition, when it is determined that a specific description of a known technology related to the invention may make the gist of the invention unclear, the detailed description will be omitted. Hereinafter, a preferred embodiment of the present invention will be described in detail with reference to the accompanying drawings.
[0027] FIG. 1 is an exemplary diagram illustrating a font service system according to an embodiment of the present invention.
[0028] Referring to FIG. 1, a font service system 1000 may be composed of a font server 10 , a web server 20 and a client 30 .
[0029] The font server 10 can generate and store various font files and font subsets and provide various font information to a subject requesting a font.
[0030] Specifically, the font server 10 can provide web font information in response to a web font request from the client 30, and can perform a web font service authentication procedure, a web font service registration procedure, etc. Also, the font server 10 can generate a customer-specific web font module based on the web font.
[0031] The web server 20 is a server for providing web services to users, and can provide website information to a client 30 requesting access to a website.
[0032] The client 30 may be a concept including a form of a web browser that accesses a website and requests web font information required by the website or a web view that renders HTML (HyperText Markup Language). For example, the client 30 may be a web browser such as Safari, Chrome, Edge, Internet Explorer, or Firefox that is used in smartphones, computers, notebook computers, tablets, etc. Alternatively, the client 30 may include an application that operates in conjunction with a network on an operating system such as Android or iOS.
[0033] Hereinafter, a process of registering service usage information for using a web font service will be described with reference to FIG.
[0034] FIG. 2 is a conceptual diagram illustrating a process of registering service usage information for using a web font service according to an embodiment of the present invention.
[0035] 2, in order to use the web font service, the customer 22 transmits web font service usage information to the font server 10, and the font server 10 can register the customer based on the web font service usage information. Here, the customer 22 is a user who intends to apply a web font to the web server 20, and may mean a font purchaser.
[0036] In addition, the font server 10 checks the font list in the font server 10 to see if the web font used by the customer 22 exists based on the service usage information, and if the font does not exist, the font server 10 requests the source web font corresponding to the font from the source font server 12, and the source web font is provided.
[0037] In addition, the font server 10 can generate and store a web font module dedicated to the client 22 based on the web font, and generate and store user authentication information for user authentication.
[0038] In addition, the font server 10 generates HTML tags for executing the web font module and provides them to the customer 22, and the customer 22 can use the web font service by applying the HTML tags to a website on his or her own web server 20.
[0039] 2, the font server 10 and the source font server 12 are described as being separate, but the configuration of the font server 10 and the source font server 12 is not limited to this. For example, the source font server 12 may exist as one database of the font server 10.
[0040] Next, the above-mentioned service usage information registration process will be described in more detail with reference to FIG.
[0041] FIG. 3 is a timing diagram illustrating a process of registering service usage information according to an embodiment of the present invention.
[0042] For ease of explanation, FIG. 3 will explain the process of transmitting and receiving information between the font server 10 and the web server 20 operated by the client 22.
[0043] 3, the web server 20 can purchase web fonts to be used on a website from the font server 10 (S101). For example, the web server 20 can purchase each web font individually for a predetermined price, or can purchase a usage right that can be used for a predetermined period for a predetermined price. Alternatively, the web server 20 can purchase a specific set of web fonts in the form of a subscription in a freely usable manner.
[0044] The method of purchasing web fonts is not limited to the above-mentioned example, and they can be purchased and used in various ways depending on the sales method of the font server 10.
[0045] Next, the web server 20 can provide the font server 10 with information for using the web font service (S102). Specifically, the web server 20 can provide the font server 10 with service usage information for using the web font service. Here, the service usage information can include at least one of a font list used by the web server 20, a customer name, a name of the font product to be purchased, a service usage period, an applicable domain, and a test IP.
[0046] Furthermore, in this embodiment, due to the characteristics of the font, the range of languages and formats that the web server 20 supports may vary, and it is also possible to request a service that converts characters in a language or format that is not supported within the text into a substitute font of a similar form.
[0047] Therefore, the web server 20 can provide the font server 10 with service usage information further including substitute font information. Specifically, a substitute font is a font used to substitute characters not included in a specific font with other fonts for display on a screen, and can be used when intentionally substituting some characters with other fonts. The substitute font information can include at least one of the start position, end position, and type of the substitute font.
[0048] For example, the alternative font information can be used when the Hangul font does not include Chinese character glyphs and it is necessary to substitute another font, when English characters are to be displayed in a unique font in order to be intentionally emphasized, when numbers (U+0030 to U+0039 range) are to be substituted with a specific font, when English capital letters (U+0041 to U+005A range) are to be substituted with a specific font, when Chinese characters (U+4E00 to U+9FFF range) are to be substituted with a specific font, and when ASCII codes (U+0200 to U+007E range) are to be substituted with a specific font. Here, the area designation in the alternative font information uses Unicode, so it can be freely designated for all Unicode text.
[0049] Specifically, the alternative font information may be in the form of {Replacement target font ID: [{"range": [start position, end position], "fontID": alternative font ID}, {"range": ...} ...]}, Replacement target font ID: ID of the target font to be replaced, Unicode range (range): Unicode range of the character to be replaced, [start Unicode, end Unicode] format, Number [0030, 0039], English uppercase letter [0041, 005A], English lowercase letter [0061, 007A] Alternative font ID (fontID): ID of the font to be replaced. For example, the alternative font information may be in the form shown in FIG. 4.
[0050] In addition, in the present embodiment, it is possible to extract an alternative font based on the similarity of a vector of a feature of a requested font list as a condition for selecting an alternative font. Also, the alternative fonts can be set by classifying them according to the Unicode range.
[0051] Specifically, the characteristics of a font in a particular Unicode are encoded into a vector, and an alternative font is selected based on the similarity in the feature space in which the vector exists, thereby minimizing the sense of difference caused by unsupported fonts.
[0052] The font server 10, which has received the above service usage information, generates a customer unique number from the identification information, stores it together with the service usage information, and can acquire and store web fonts based on the service usage information (S103). Specifically, the font server 10 can search the font list stored in advance in the font server 10 based on the font list used by the web server 20 in the service usage information, and acquire web fonts.
[0053] For example, if the font list used by the web server 20 is not present in the pre-stored font list, the font server 10 requests a source font from the source font server 12, receives an encrypted source font, decodes and stores the source font, and can obtain and store a web font using the source font.
[0054] The font server 10 may also generate and store a web font module dedicated to the web server 20 based on the acquired web font (S104). Here, the web font module may be a JavaScript (JS)-based program designed to collect text in a web page of a website by font, generate CSS information, and add it to the website information.
[0055] In addition, if the service usage information includes alternative font information, the font server 10 can generate and store a web font module to which the alternative font information is applied.
[0056] Furthermore, the font server 10 can generate and store user authentication information for user authentication based on the received service usage information (S105). Specifically, the font server 10 can generate and store user authentication information based on information that can distinguish users in the service usage information. For example, the user authentication information can include a customer unique number, a customer name, an applicable domain, and a test IP.
[0057] Next, the font server 10 can generate HTML tags for executing the generated web font module (S106) and provide the generated HTML tags to the web server 20 (S107).
[0058] For example, the font server 10 can generate HTML tags for executing the web font module as shown in FIG.
[0059] Furthermore, the web server 20 that has received the HTML tags from the font server 10 can use the web font service by applying the received HTML tags to its own website information (S108). Specifically, the web server 20 can use the web font service by inserting HTML tags into the HTML document in the website information.
[0060] In this way, according to the present invention, a customer can easily apply a desired font to a customer's website by inserting a short HTML tag into an HTML document, thereby improving the convenience of users who use paid fonts.
[0061] In addition, the present invention uses a web font module to which substitute font information is applied, allowing customers to freely mix and use a plurality of fonts without modifying the HTML code of the website.
[0062] In addition, by using a web font module to which alternative font information is applied, the present invention can eliminate the limitations in the use of existing web fonts, which are restricted in use due to glyphs not provided in a particular font.
[0063] Meanwhile, when changing the font list to be used, the web server 20 requests the font server 10 to change the font list, and receives and uses the web font module to which the changed font list is applied.
[0064] In this way, a customer who uses the font service can easily change the fonts applied to a website by applying the web font module to which the changed font list has been applied to the website.
[0065] Next, with reference to FIG. 6, a method for the font service system to provide a web font service to a client will be described.
[0066] FIG. 6 is a conceptual diagram illustrating a web font service method according to an embodiment of the present invention.
[0067] Referring to FIG. 6, when a client 30 requests the web server 20 to access a website, the web server 20 can provide the client 30 with website information corresponding to the website.
[0068] Then, the client 30 can request a web font from the font server 10 based on the website information, receive the web font, and perform rendering based on the provided web font to display text in a web page of the website.
[0069] The web font service method will be described in more detail with reference to FIG.
[0070] FIG. 7 is a timing diagram illustrating a web font service method according to an embodiment of the present invention.
[0071] 7, the client 30 may request access to a website from the web server 20 (S201). Specifically, the client 30 may request access to a website from the web server 20 via the URL of the website.
[0072] Next, the web server 20 that has received the request to access the website may provide website information of the website, including HTML tags for executing the web font module, to the client 30 (S202). Here, the website information is data required to render the website, and may refer to an HTML document including content such as images and text.
[0073] In addition, when the client 30 renders a web page, the web font module is executed through an HTML tag in the website information, and the executed web font module can collect text in the web page of the website by font and generate text information by font (S203). Here, the text information by font may mean data summarizing the minimum text required to render the website by font.
[0074] Specifically, the step of generating text information (S203) may include collecting text within a web page of a website by font, removing duplicated text from the collected text, and performing de-identification by arranging the text in Unicode order.
[0075] In addition, in the step of generating text information (S203), if the length of the text collected by font in the web page of the website exceeds a predetermined length, the text may be divided into a predetermined length and then text information by font may be generated. That is, by dividing the text arranged in code order into unit lengths, responsiveness may be improved and a further non-identification effect may be obtained. In addition, the unit length for dividing the text may be variably determined according to the font type of the text, the total number of fonts used, and currently available resources of the font server 10. For example, if currently available resources are low, the predetermined length may be determined to be short.
[0076] In addition, the step of generating text information (S203) may determine whether an alternative font is necessary. Specifically, the step of generating text information (S203) may determine whether or not there is text corresponding to an alternative font among texts collected by font in a web page of a website based on the alternative font information.
[0077] For example, if there is text corresponding to the Unicode range of the character to be substituted among the collected texts, the web font module may determine that an alternative font is necessary. As described above, in this embodiment, by removing duplicated text and sorting the text in Unicode order, elements having literal meaning contained in the text can be de-identified, and the application range of the alternative font can be determined more efficiently in the sorted order.
[0078] Therefore, in the step of generating text information (S203), if the collected text includes text that corresponds to an alternative font, text information for each font can be generated by distinguishing between text that corresponds to the alternative font and text that does not correspond to the alternative font.
[0079] For example, the step of generating text information (S203) may include separating the collected text into text corresponding to alternative fonts and other text, removing duplicate text, and performing de-identification. After that, text whose length exceeds a predetermined length may be divided into predetermined lengths, and text information for each font may be generated.
[0080] Next, the executed web font module generates cascading style sheets (CSS) information including web font position information based on the generated font-specific text information, and can add the generated CSS information to website information (S204). Here, the CSS information is a style sheet that stores the general style of a web document, and can include information on the type of text font, font size, font style, font weight, etc., and text information for each font.
[0081] Furthermore, the client 30 may transfer web font request information from the font server 10 based on the CSS information in the website information (S205). Here, the web font request information may include data related to the requested web font and various data required for authentication procedures to use the web font service. For example, the web font request information may include CSS information and user authentication information. Here, the user authentication information may be obtained from the web server 20.
[0082] Next, the font server 10 may perform a web font service authentication procedure using the web font request information received from the client 30 and pre-stored user authentication information (S206). Specifically, the font server 10 may compare the user authentication information in the web font request information with the pre-stored user authentication information to determine whether the request is properly made via the client's web server 20.
[0083] For example, if it is determined that the access is abnormal, the font server 10 may transmit an error response to the client 30 and provide the abnormal access fact to the web server 20. Here, an abnormal access is a web font request that does not go through the client's web server 20, and may include, for example, a case where a general user intercepts a URL that requests the font server 10 in a web browser to obtain a web font file and makes a request to the font server 10 directly.
[0084] That is, the present invention can prevent the leakage of font designs of paid fonts by rejecting web font file requests from domains and IP addresses that have not been pre-registered through the above-mentioned authentication procedure.
[0085] If the font request is determined to be valid through the service authentication procedure, the font server 10 may generate an optimized web font subset based on the web font request information (S207). Here, the web font subset may refer to a font file with a reduced number of characters to improve dynamic loading performance.
[0086] Specifically, the font server 10 may perform font subsetting based on text information in the web font request information and pre-stored web fonts to generate a web font subset.
[0087] The font server 10 may store the generated web font subset for a predetermined period of time. Here, the predetermined period may be variably determined according to the size and frequency of use of the web font subset. For example, if the size of the web font subset is large or the frequency of use is high, the font server 10 may increase the predetermined period, and if the frequency of use is low, the font server 10 may decrease the predetermined period.
[0088] Next, the font server 10 may transmit the web font information to the client 30 based on the web font request information (S208). Here, the web font information is data composed of a web font subset generated based on text information in the web font request information, and may also include an alternative font subset depending on whether or not an alternative font is included.
[0089] For example, when receiving the same web font request from the client 30, the font server 10 can immediately transmit web font information to the client 30 based on the web font subset that has been previously generated and stored.
[0090] Then, the client 30 can render the web page in the website and display the text based on the web font information provided by the font server 10 (S209). For example, the text of the web page in the website can be displayed as shown in FIG.
[0091] Specifically, FIG. 8(a) is an example diagram showing a web page screen in a website before a web font is applied, and FIG. 8(b) is an example diagram showing a web page screen in a website after the web font is applied.
[0092] In addition, in (b) of FIG. 8, the font substitution function is applied so that the text in the title area is displayed in English and the numbers are displayed in a purple font, and the text in the body area is displayed in English and the numbers are displayed in a different font shape.
[0093] According to the present invention described above, by using a web font module that collects text within a website by font to generate text information, generates CSS information based on the text information, and inserts the CSS information into an HTML document, it is possible to minimize time consumption due to the use of web fonts when rendering a web page.
[0094] In addition, when providing web font information, the capacity of the web font can be reduced by using an optimized web font subset.
[0095] Furthermore, by reducing the capacity of the web font, the download time of the web font can be shortened, and network traffic and costs can be reduced.
[0096] In addition, the present invention uses a web font module to which a substitute font is applied, so that it is easy to substitute missing glyphs of a particular font or to use a mixture of different fonts to emphasize a particular character.
[0097] Meanwhile, the above-mentioned web font service is not limited to web fonts provided to websites, but can be applied and used in various fields for displaying text. For example, the above-mentioned web font service can be applied to conversational applications such as messengers.
[0098] Hereinafter, a process of registering service usage information for using an application-based font service will be described with reference to FIG.
[0099] FIG. 9 is a conceptual diagram illustrating a process of registering font service usage information according to another embodiment of the present invention.
[0100] Referring to FIG. 9, a customer 22 who has purchased a font to be applied to an application registers the information necessary for using the font with the font server 10, and the font server 10 requests the source font from the source font server 12 and receives it.
[0101] Also, the font server 10 generates font request format information and provides it to the customer 22, and the customer 22 can use the font service by applying the font request information in an account of the application management server 40.
[0102] This will be described more specifically with reference to FIG.
[0103] FIG. 10 is a timing diagram illustrating a process of registering service usage information according to another embodiment of the present invention.
[0104] 10, the application management server 40 provides a service module such as font purchase, and the customer 22 can purchase fonts through the application management server 40. Here, the application management server 40 is a server that provides interactive applications, and the customer 22 can request a font service through an interface provided by the application management server 40.
[0105] Therefore, the following describes the process of the application administration server 40 in making a request via the client 22 interface.
[0106] First, the customer 22 can purchase a font provided by the font server 10 via the application operation server 40 (S1001). Next, the application operation server 40 can provide the font server 10 with service usage information for using the font service (S1002).
[0107] Then, the font server 10 requests and receives a source font from the source font server 12 based on the received service usage information, and can acquire and store a font based on the source font (S1003).
[0108] The font server 10 can also generate and store user authentication information (S1004).
[0109] In addition, the font server 10 may generate and store font format information for requesting a font based on the acquired font (S1005). Here, the font format information may include information on the font type, font size, font style, font thickness, etc.
[0110] Next, the font server 10 can provide the generated font style information to the application management server 40 (S1006).
[0111] Then, the application operating server 40 can provide a font service by setting the font based on the font style information (S1007).
[0112] Meanwhile, the above steps (S1001) to (S1007) are performed in the same manner as the web font service registration process of FIG. 3, so detailed description thereof will be omitted.
[0113] Next, a method for providing an application-based font service will be described with reference to FIG.
[0114] FIG. 11 is a conceptual diagram illustrating a method for providing a font service according to another embodiment of the present invention.
[0115] Referring to FIG. 11, when a first client 51 using an application selects a font to be used for chatting through a chat application and then inputs conversation content, the application management server 40 can transfer font format information along with the conversation content to the first client 51 and the second client 52, respectively.
[0116] The first client 51 and the second client 52 can request a font from the font server 10 based on the font format information, receive the font information, and then display text in an application based on the font information. Here, the first client 51 and the second client 52 are terminals of users who use the application, and may refer to smartphones, tablets, PCs, etc.
[0117] In this regard, a method for providing an application-based font service will be described in more detail with reference to FIG.
[0118] FIG. 12 is a timing diagram illustrating a method for providing a font service according to another embodiment of the present invention.
[0119] 12, the first client 51 can select a font to be used through an application, input a conversation content, and transmit it to the application operating server 40 (S2001). Here, the conversation content and font selection information input to the application operating server 40 can be transmitted together.
[0120] Next, the application management server 40 can select font style information based on the font selection information and provide the user's conversation content including the font style information to the first client 51 (S2002) and the other party's conversation content including the font style information to the second client 52 (S2003).
[0121] Then, the first client 51 and the second client 52 can request a font file from the font server 10 based on the font format information (S2004).
[0122] Next, the font server 10 can perform a font service authentication procedure based on pre-stored user authentication information (S2005).
[0123] The font server 10 can also generate and store an optimized font subset based on the font style information (S2006).
[0124] The font server 10 can then provide font information based on the font style information. Specifically, the font server 10 can provide font information based on the generated font subset.
[0125] Then, the first client 51 and the second client 52 that have received the font information can display text on the screen within the chat application based on the font information (S2008).
[0126] Meanwhile, the above steps (S2001) to (S2008) are performed in the same manner as the corresponding steps of the web font service method of FIG. 7, and therefore detailed description thereof will be omitted.
[0127] According to the present invention, it is possible to collect text within a website by font and generate efficient de-identified text information, thereby reducing network traffic and costs.
[0128] Furthermore, the present invention can provide readable information to a user by using a web font module to which an alternative font is applied.
[0129] Furthermore, the various embodiments described herein may be implemented, for example, using software, hardware, or a combination of both in a computer or similar device readable recording medium.
[0130] According to a hardware implementation, the embodiments described herein may be implemented using at least one of application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), processors, controllers, micro-controllers, microprocessors, or other functionally performing electrical units. In some cases, the embodiments described herein may be implemented as the control module itself.
[0131] According to a software implementation, the embodiments such as procedures and functions described herein can be implemented in separate software modules, each of which can perform one or more functions and operations described herein. The software code can be implemented in a software application written in a suitable programming language. The software code can be stored in a memory module and executed by a control module.
[0132] The above description is merely an illustrative example of the technical concept of the present invention, and various modifications, variations and substitutions can be made by a person having ordinary knowledge in the technical field to which the present invention pertains without departing from the essential characteristics of the present invention.
[0133] Therefore, the embodiments and the accompanying drawings disclosed in the present invention are for the purpose of explanation, not for the purpose of limiting the technical idea of the present invention, and the scope of the technical idea of the present invention is not limited by such embodiments and the accompanying drawings. The scope of protection of the present invention should be interpreted according to the following claims, and all technical ideas within the scope equivalent thereto should be interpreted as being included in the scope of the present invention.
Claims
1. A web font service method of a font server, comprising: receiving web font request information from a client provided with website information including an HTML tag for executing a web font module; transmitting web font information to the client based on the web font request information; The web font module generates CSS information including position information of the web font based on text information collected from the web page of the website by font, and adds the CSS information to the website information. The client recognizes the generated CSS information and transmits the generated web font request information to a font server.
2. The method of claim 1, further comprising the step of: the font server performing a web font service authentication procedure using the received web font request information and pre-stored user authentication information.
3. The web font module includes:
2. The method of claim 1, further comprising removing duplicated text from the collected text, arranging the text in Unicode order, and generating de-identified text information for each font.
4. The web font module includes: The web font service method of claim 3, further comprising dividing the aligned text to generate text information for each unit font, if the length of the aligned text exceeds a predetermined length.
5. The web font module includes:
4. The web font service method of claim 3, further comprising: determining whether or not there is text corresponding to an alternative font among the collected text; and, if there is text corresponding to an alternative font, classifying the text corresponding to the alternative font and generating text information for each font.
6. A font server receives service usage information for using the web font service from a user; acquiring web fonts based on the service usage information; generating a web font module specific to the user based on the obtained web font; 2. The web font service method of claim 1, further comprising the steps of: generating an HTML tag for executing the web font module; and providing the HTML tag to the user.
7. The step of transmitting the web font information to the client includes:
2. The method of claim 1, further comprising: generating a font subset based on the web font request information; and transmitting web font information including the generated font subset to the client.
8. A web font service method of a web server, comprising: receiving a request from a client to access a website; providing website information to the client, the website information including HTML tags for executing a web font module; The web font module generates CSS information including position information of the web font based on text information collected from the web page of the website by font, and adds the CSS information to the website information. The client recognizes the generated CSS information and transmits the generated web font request information to a font server.
9. The web font module includes:
9. The method of claim 8, further comprising removing duplicated text from the collected text, arranging the text in Unicode order, and generating de-identified text information for each font.
10. The web font module includes: The method of claim 9, further comprising dividing the aligned text when the length of the aligned text exceeds a predetermined length, to generate text information for each unit font.
11. The web font module includes:
9. The web font service method of claim 8, further comprising: determining whether or not there is text corresponding to an alternative font among the collected text; and, if there is text corresponding to an alternative font, classifying the text corresponding to the alternative font and generating text information for each font.
12. A font service system for providing a web font service, comprising: A client accessing a website and requesting necessary web font information from the website; a web server that provides website information to the client that has requested access to the website; a font server that provides web font information to the client; When the web server requests access to a website, the web server provides the client with website information including an HTML tag for executing a web font module; The web font module generates CSS information including position information of the web font based on text information collected from the web page of the website by font, and adds the CSS information to the website information. The client recognizes the generated CSS information and transmits the generated web font request information to a font server; The font server generates web font information based on the web font request information and transmits the web font information to the client.
13. A computer-readable recording medium storing a program for performing the web font service method according to any one of claims 1 to 11.
Citation Information
Patent Citations
Web font distribution method and system therefor
JP2015118619A
Font distribution system and font distribution method
JP2017102763A
Method and systems for serving fonts during web browsing sessions
US20120016964A1
