WO2019047881A1 - Page display method and apparatus for application program (app), device, and storage medium - Google Patents

Page display method and apparatus for application program (app), device, and storage medium Download PDF

Info

Publication number
WO2019047881A1
WO2019047881A1 PCT/CN2018/104274 CN2018104274W WO2019047881A1 WO 2019047881 A1 WO2019047881 A1 WO 2019047881A1 CN 2018104274 W CN2018104274 W CN 2018104274W WO 2019047881 A1 WO2019047881 A1 WO 2019047881A1
Authority
WO
WIPO (PCT)
Prior art keywords
character
font
app
display control
memory
Prior art date
Application number
PCT/CN2018/104274
Other languages
French (fr)
Chinese (zh)
Inventor
朱志强
Original Assignee
阿里巴巴集团控股有限公司
朱志强
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司, 朱志强 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2019047881A1 publication Critical patent/WO2019047881A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/126Character encoding

Definitions

  • One or more embodiments of the present disclosure relate to the field of application software technologies, and in particular, to a page display method and device, an apparatus, and a storage medium of an application APP.
  • one or more embodiments of the present specification provide a page display method and device, an apparatus, and a storage medium of an application program.
  • a method for displaying a page of an application APP including:
  • the character on the character display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
  • a method for displaying a page of an application APP including:
  • the character on the fund display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
  • a page display apparatus for an application APP including:
  • a TTF conversion unit that converts a font file stored in a specified directory of the APP into a font object and writes the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding ;
  • Determining a unit determining at least one character display control associated with the font file in the APP;
  • a character display unit when displaying an APP page including the associated character display control, displaying a character on the character display control as a character icon corresponding to a character encoding of the character based on the font object in the memory .
  • a page display apparatus for an application APP including:
  • a TTF conversion unit that converts a font file stored in a specified directory of the APP into a font object and writes the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding ;
  • Determining a unit determining at least one fund display control in the APP associated with the font file for displaying a fund amount
  • a character display unit when displaying an APP page including the associated fund display control, displaying a character on the fund display control as a character icon corresponding to a character code of the character based on the font object in the memory .
  • an electronic device comprising:
  • a memory for storing processor executable instructions
  • the processor is configured to:
  • the character on the character display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
  • an electronic device comprising:
  • a memory for storing processor executable instructions
  • the processor is configured to:
  • the character on the fund display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
  • a computer storage medium having stored thereon a computer program that, when executed by a processor, implements the following steps:
  • the character on the character display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
  • a computer storage medium having stored thereon a computer program that, when executed by a processor, implements the following steps:
  • the character on the fund display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
  • the font file (corresponding to a font) stored in the specified directory of the APP is used to display the characters on the at least one character display control in the APP as corresponding to the font file.
  • the fonts that make the characters displayed on the associated character display controls are more prominent because of the personalized fonts, which improves the page display.
  • FIG. 1 is a flowchart of a method for displaying a page of an application APP according to an exemplary embodiment
  • Figure 2 illustrates an exemplary APP page containing a character display control
  • FIG. 3 is a block diagram of a page display apparatus of an application APP according to an exemplary embodiment
  • FIG. 4 shows a structure of an electronic device provided by an exemplary embodiment.
  • a user equipment has at least one general font that can be selected, and a font file corresponding to the universal font can be stored in a certain directory of the UE (eg, system ⁇ font).
  • the UE is, for example, a computer, a mobile phone, a PDA, a watch, or the like.
  • the operating system of the UE may be an Android (android) system
  • the font file may be a TTF (TrueType Font) file, and the file name of the file is suffixed with .ttf.
  • the font file is not limited to the TTF file. This article only uses the TTF file as an example.
  • FIG. 1 shows a flow of a page display method of an application APP, which may be installed on a UE, according to an exemplary embodiment.
  • the method includes step 101, step 102, and step 103, where:
  • Step 101 Convert a font file stored in a specified directory of the APP into a font object and write the font object into a memory, wherein the font object may include a character encoding and a character icon corresponding to the character encoding.
  • a TTF file (corresponding to a special font) needs to be generated.
  • the TTF file may be generated by the following steps 110 to 130, where:
  • Step 110 Provide a character icon corresponding to each character according to each character that may be displayed on the character display control.
  • the APP may be an APP for implementing network payment.
  • a character that the user desires to display through a special font may be a fund amount.
  • the character display control for displaying the amount of funds may include a pure display type control and/or an input display type control.
  • the pure display type control means that the control is only used to display the amount of funds
  • the input display type control is a control for displaying the amount of funds input by the user (ie, a character input box).
  • the characters used to form the amount of funds may include numeric characters 0-9, and " ⁇ ", ",".
  • each font icon can be handwritten by hand or drawn by machine. For example, if the special font you want to use is a line, the font icon corresponding to each character is obtained according to the style of the line.
  • Step 120 Provide a character encoding corresponding to each character.
  • character encoding can use Unicode (Unicode). That is, each of the above 12 characters corresponds to a Unicode code.
  • Step 130 Upload the character icon and the character code corresponding to each character icon to a font file generation platform, to generate a font file (such as .ttf) by using the font file generation platform.
  • a font file such as .ttf
  • the generated font file may be stored in a specified directory of the APP, wherein the process may occur when the user of the UE downloads the installation package of the APP and installs to the UE.
  • the TTF file can also be generated by other tools for generating TTF files.
  • the font file stored in the specified directory of the APP is read into the memory. Since the font file cannot be directly used by the APP to display characters, it is usually necessary to parse the font file and convert it to the corresponding font object.
  • the TTF file is finally converted into a TTF object, wherein the TTF object can be regarded as a data stream containing a character code and a character icon corresponding to the character code, and the data stream can be stored in the memory. .
  • the TTF object obtained by the conversion may be cached in the memory.
  • the APP can obtain a character encoding and a character icon corresponding to the special font according to the TTF object stored in the memory, and use it as a display of the character.
  • Step 102 Determine at least one character display control associated with the font file in the APP.
  • whether the APP enables the function of displaying characters on at least one character display control by using a special font may be set by the user of the APP.
  • the APP may open the interface for setting the function to the user.
  • the user can also set which APP pages, or which character display controls, to enable the function.
  • it is determined that the font file (corresponding to the special font) and the at least one character display control using the font file are associated with each other.
  • the developer of the APP can also determine whether it needs to be associated with the above font file by defining the code of some controls in the APP, and the user of the APP cannot modify the association by itself.
  • step 102 may be specifically: determining, according to the set scene identifier, at least one character display control associated with the font file in the APP.
  • the scene identifier may be used to indicate a control identifier of the at least one character display control that displays the character using the font file.
  • the method further includes:
  • the scene identifier is generated and stored on the user equipment where the APP is installed, according to the setting operation of the user by the user. For example, the user can set the special font on the at least one character display control on the APP by setting the operation of the APP, and after setting, the corresponding scene identifier is generated, and the scene identifier is When the subsequent user uses the APP, the UE can determine which character display controls need to use the special font to display characters according to the scene identifier. In fact, the scene identifier can be used as a switch to determine whether to use a special font function.
  • Step 103 When displaying an APP page including the associated character display control, displaying a character on the character display control as a character icon corresponding to a character encoding of the character based on the font object in the memory.
  • other characters of the APP other than the characters displayed on the character display control may be displayed as a universal font used by the user equipment.
  • two or more special fonts may be used to display the characters in the APP. Taking the transfer scenario as an example, the amount transferred is displayed by the first special font, and The amount can be displayed in the second special font, so that the APP not only uses the universal font and a special font to display the characters.
  • FIG. 2 illustrates an exemplary APP page including a character display control, which may be a transfer page of a web payment application.
  • a character display control which may be a transfer page of a web payment application.
  • the special font to be used is a line
  • the common font used by the UE is Song
  • the transfer page 10 the user usually wants to use important fonts (transfer amount) in a special font. Display to give the user a highlighted effect. Then, when displayed, the characters in the input box 11 for inputting the transfer amount are displayed as lines, and the remaining characters on the transfer page 10 are displayed as Times New Roman.
  • characters on one or more character display controls on the same page may be displayed as special fonts, or at least two special fonts may be displayed on the same page, which are not limited in this article.
  • the application scenarios of the method include a lot, for example, displaying the driver license plate information on the Internet car APP through a special font, or displaying the preferential information on the Internet platform through a special font, etc., which are not enumerated herein.
  • a page display method of an application APP includes the following steps:
  • the character on the fund display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
  • the font file (corresponding to a font) stored in the specified directory of the APP is used to display the characters on the at least one character display control in the APP as corresponding to the font file.
  • the fonts make the characters displayed on the associated character display controls because of the personalized fonts, and the display is more prominent, which improves the page display effect and achieves a better visual display effect.
  • the present invention also provides a page display device of an application APP, which may include various code modules in the software.
  • a page display apparatus 200 of an application APP may include a TTF conversion unit 201, a determination unit 202, and a character display unit 203, where:
  • the TTF conversion unit 201 is configured to convert a font file stored in a specified directory of the APP into a font object and write the font object into a memory, wherein the font object includes a character encoding and the character Encoding the corresponding character icon;
  • the determining unit 202 is configured to: determine at least one character display control in the APP that is associated with the font file;
  • the character display unit 203 is configured to display, when the APP page including the associated character display control is displayed, a character on the character display control as a character code of the character based on the font object in the memory The corresponding character icon.
  • the APP displays other characters than the characters displayed on the character display control as a universal font used by the user equipment.
  • the determining unit 202 can be configured to:
  • the character display control may include a pure display class control and/or an input display class control.
  • the apparatus 200 may further include:
  • An icon file providing unit that provides a character icon corresponding to each character according to each character that may be displayed on the character display control
  • a code providing unit that provides a character code corresponding to each character
  • Uploading a unit uploading the character icon and a character code corresponding to each character icon to a font file generating platform, to generate a font file by using the font file generating platform;
  • the storage unit stores the generated font file in a specified directory of the APP.
  • the apparatus 200 may further include:
  • the scene identifier generating unit generates the scene identifier according to the setting operation of the APP by the user, and stores the scene identifier on the user equipment where the APP is installed.
  • the font file can be a TTF file.
  • a page display device 200 of an application program includes: a TTF conversion unit 201, a determining unit 202, and a character display unit 203, where:
  • the TTF conversion unit 201 is configured to convert a font file stored in a specified directory of the APP into a font object and write the font object into a memory, wherein the font object includes a character encoding and the character encoding Corresponding character icon;
  • the determining unit 202 is configured to: determine at least one fund display control in the APP associated with the font file for displaying a fund amount;
  • the character display unit 203 is configured to display, when the APP page including the associated fund display control is displayed, a character on the fund display control as a character code of the character based on the font object in the memory The corresponding character icon.
  • an electronic device such as a mobile phone, a computer, a PDA, a watch, etc.
  • a processor may include a processor, an internal bus, a network interface, and a memory (including Memory and non-volatile memory), of course, may also include the hardware required for other services.
  • the processor can be one or more of a central processing unit (CPU), a processing unit, a processing circuit, a processor, an application specific integrated circuit (ASIC), a microprocessor, or other processing logic of executable instructions.
  • the processor reads the corresponding program from the non-volatile memory into memory and then runs.
  • one or more embodiments of the present specification do not exclude other implementation manners, such as a logic device or a combination of software and hardware, etc., that is, the execution body of the following processing flow is not limited to each.
  • a logical unit which can also be a hardware or logic device.
  • the processor can be configured to:
  • the character on the character display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
  • the processor can be configured to:
  • the character on the fund display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
  • a computer storage medium having stored thereon a computer program that, when executed by a processor, implements the following steps:
  • the character on the character display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
  • a computer storage medium having stored thereon a computer program, the computer program being executed by the processor to implement the following steps:
  • the character on the fund display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
  • the system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • a typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, and a game control.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory, such as read only memory (ROM) or flash memory (flashRAM), in a computer readable medium.
  • RAM random access memory
  • ROM read only memory
  • flashRAM flash memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary storage computer readable media, such as modulated data signals and carrier waves.
  • embodiments of one or more embodiments of the present disclosure can be provided as a method, system, or computer program product.
  • one or more embodiments of the present specification can take the form of an entirely hardware embodiment, an entirely software embodiment or a combination of software and hardware.
  • one or more embodiments of the present specification can employ a computer program embodied on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer usable program code embodied therein. The form of the product.
  • One or more embodiments of the present specification can be described in the general context of computer-executable instructions executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types.
  • One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network.
  • program modules can be located in both local and remote computer storage media including storage devices.

Abstract

A page display method and apparatus for an application program (app), a device, and a storage medium The method comprises: converting a font file stored under a designated directory of an app into a font object and writing the font object into a memory (101), the font object comprising a character code and a character icon corresponding to the character code; determining at least one character display control in the app associated with the font file (102); and when displaying the app page containing the associated character display control, displaying, on the basis of the font object in the memory, the character on the character display control as the character icon corresponding to the character code of the character (103).

Description

应用程序APP的页面显示方法及装置、设备、存储介质Page display method and device, device, storage medium of application APP 技术领域Technical field
本说明书一个或多个实施例涉及应用软件技术领域,尤其涉及一种应用程序APP的页面显示方法及装置、设备、存储介质。One or more embodiments of the present disclosure relate to the field of application software technologies, and in particular, to a page display method and device, an apparatus, and a storage medium of an application APP.
背景技术Background technique
目前,很多用户设备(如手机)都具备字体个性化设置的功能,但是,在用户设置个性化字体之后,用户设备上安装的所有应用程序(application,APP)的APP页面都会按照同样的个性化字体进行显示。随着科技的进步,现有的字体个性化方案已经无法满足人们对APP的页面展示效果的需求。At present, many user devices (such as mobile phones) have the function of font personalization, but after the user sets the personalized font, the APP pages of all applications (applications, APPs) installed on the user device will be personalized according to the same. The font is displayed. With the advancement of technology, the existing font personalization scheme has been unable to meet people's demand for the page display effect of the APP.
发明内容Summary of the invention
有鉴于此,本说明书一个或多个实施例提供一种应用程序APP的页面显示方法及装置、设备、存储介质。In view of this, one or more embodiments of the present specification provide a page display method and device, an apparatus, and a storage medium of an application program.
为实现上述目的,本说明书一个或多个实施例提供的技术方案如下:To achieve the above objective, the technical solution provided by one or more embodiments of the present specification is as follows:
在一个方面,提供的一种应用程序APP的页面显示方法,包括:In one aspect, a method for displaying a page of an application APP is provided, including:
将存储于所述APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;Converting a font file stored in a specified directory of the APP into a font object and writing the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding;
确定所述APP中与所述字体文件关联的至少一个字符显示控件;Determining at least one character display control associated with the font file in the APP;
在显示包含被关联的所述字符显示控件的APP页面时,基于所述内存中的字体对象,将所述字符显示控件上的字符显示为与该字符的字符编码对应的字符图标。When the APP page including the associated character display control is displayed, the character on the character display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
在另一个方面,提供的一种应用程序APP的页面显示方法,包括:In another aspect, a method for displaying a page of an application APP is provided, including:
将存储于所述APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;Converting a font file stored in a specified directory of the APP into a font object and writing the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding;
确定所述APP中与所述字体文件关联的至少一个用于显示资金数额的资金显示控件;Determining at least one fund display control for displaying a fund amount associated with the font file in the APP;
在显示包含被关联的所述资金显示控件的APP页面时,基于所述内存中的字体对象,将所述资金显示控件上的字符显示为与该字符的字符编码对应的字符图标。When displaying the APP page including the associated fund display control, the character on the fund display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
在另一个方面,提供的一种应用程序APP的页面显示装置,包括:In another aspect, a page display apparatus for an application APP is provided, including:
TTF转换单元,将存储于所述APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;a TTF conversion unit that converts a font file stored in a specified directory of the APP into a font object and writes the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding ;
确定单元,确定所述APP中与所述字体文件关联的至少一个字符显示控件;Determining a unit, determining at least one character display control associated with the font file in the APP;
字符展示单元,在显示包含被关联的所述字符显示控件的APP页面时,基于所述内存中的字体对象,将所述字符显示控件上的字符显示为与该字符的字符编码对应的字符图标。a character display unit, when displaying an APP page including the associated character display control, displaying a character on the character display control as a character icon corresponding to a character encoding of the character based on the font object in the memory .
在另一个方面,提供的一种应用程序APP的页面显示装置,包括:In another aspect, a page display apparatus for an application APP is provided, including:
TTF转换单元,将存储于所述APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;a TTF conversion unit that converts a font file stored in a specified directory of the APP into a font object and writes the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding ;
确定单元,确定所述APP中与所述字体文件关联的至少一个用于显示资金数额的资金显示控件;Determining a unit, determining at least one fund display control in the APP associated with the font file for displaying a fund amount;
字符展示单元,在显示包含被关联的所述资金显示控件的APP页面时,基于所述内存中的字体对象,将所述资金显示控件上的字符显示为与该字符的字符编码对应的字符图标。a character display unit, when displaying an APP page including the associated fund display control, displaying a character on the fund display control as a character icon corresponding to a character code of the character based on the font object in the memory .
在又一个方面,提供的一种电子设备,包括:In yet another aspect, an electronic device is provided, comprising:
处理器;processor;
用于存储处理器可执行指令的存储器;a memory for storing processor executable instructions;
所述处理器被配置为:The processor is configured to:
将存储于应用程序APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;Converting a font file stored in a specified directory of the application APP into a font object and writing the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding;
确定所述APP中与所述字体文件关联的至少一个字符显示控件;Determining at least one character display control associated with the font file in the APP;
在显示包含被关联的所述字符显示控件的APP页面时,基于所述内存中的字体对象,将所述字符显示控件上的字符显示为与该字符的字符编码对应的字符图标。When the APP page including the associated character display control is displayed, the character on the character display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
在又一个方面,提供的一种电子设备,包括:In yet another aspect, an electronic device is provided, comprising:
处理器;processor;
用于存储处理器可执行指令的存储器;a memory for storing processor executable instructions;
所述处理器被配置为:The processor is configured to:
将存储于应用程序APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;Converting a font file stored in a specified directory of the application APP into a font object and writing the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding;
确定所述APP中与所述字体文件关联的至少一个用于显示资金数额的资金显示控件;Determining at least one fund display control for displaying a fund amount associated with the font file in the APP;
在显示包含被关联的所述资金显示控件的APP页面时,基于所述内存中的字体对象,将所述资金显示控件上的字符显示为与该字符的字符编码对应的字符图标。When displaying the APP page including the associated fund display control, the character on the fund display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
在又一个方面,提供的一种计算机存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如下步骤:In still another aspect, a computer storage medium is provided having stored thereon a computer program that, when executed by a processor, implements the following steps:
将存储于应用程序APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;Converting a font file stored in a specified directory of the application APP into a font object and writing the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding;
确定所述APP中与所述字体文件关联的至少一个字符显示控件;Determining at least one character display control associated with the font file in the APP;
在显示包含被关联的所述字符显示控件的APP页面时,基于所述内存中的字体对象,将所述字符显示控件上的字符显示为与该字符的字符编码对应的字符图标。When the APP page including the associated character display control is displayed, the character on the character display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
在又一个方面,提供的一种计算机存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如下步骤:In still another aspect, a computer storage medium is provided having stored thereon a computer program that, when executed by a processor, implements the following steps:
将存储于应用程序APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;Converting a font file stored in a specified directory of the application APP into a font object and writing the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding;
确定所述APP中与所述字体文件关联的至少一个用于显示资金数额的资金显示控件;Determining at least one fund display control for displaying a fund amount associated with the font file in the APP;
在显示包含被关联的所述资金显示控件的APP页面时,基于所述内存中的字体对象,将所述资金显示控件上的字符显示为与该字符的字符编码对应的字符图标。When displaying the APP page including the associated fund display control, the character on the fund display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
通过以上各技术方案可以看出,本申请实施例通过APP的指定目录下存储的字体文件(对应一种字体),实现将APP中的至少一个字符显示控件上的字符显示为该字体文件所对应的字体,使得APP在这些关联的字符显示控件上显示的字符因为具有个性化的字体,而显示更为突出,提升了页面显示效果。It can be seen from the above technical solutions that the font file (corresponding to a font) stored in the specified directory of the APP is used to display the characters on the at least one character display control in the APP as corresponding to the font file. The fonts that make the characters displayed on the associated character display controls are more prominent because of the personalized fonts, which improves the page display.
附图说明DRAWINGS
图1示出了一示例性实施例提供的一种应用程序APP的页面显示方法的流程;FIG. 1 is a flowchart of a method for displaying a page of an application APP according to an exemplary embodiment;
图2示出了一种示例性的包含字符显示控件的APP页面;Figure 2 illustrates an exemplary APP page containing a character display control;
图3示出了一示例性实施例提供的一种应用程序APP的页面显示装置的 模块图;FIG. 3 is a block diagram of a page display apparatus of an application APP according to an exemplary embodiment;
图4示出了一示例性实施例提供的一种电子设备的结构。FIG. 4 shows a structure of an electronic device provided by an exemplary embodiment.
具体实施方式Detailed ways
在相关技术中,通常,用户设备(User Equipment,UE)有至少一种通用字体可被选用,与所述通用字体对应的字体文件可被存储于UE的某一目录(如:system\font)下,其中,UE例如是电脑、手机、PDA、手表等。UE的操作系统可以为安卓(android)系统,所述字体文件可以为TTF(TrueTypeFont)文件,该类文件的文件名后缀为.ttf。当然,字体文件并不限于TTF文件,本文仅以TTF文件为例来介绍。当UE被设定使用某一种通用字体时,该UE上的所有应用程序(包括系统自带应用以及第三方应用)内的字符通常都被显示为这一种通用字体。当前,为了满足人们对APP页面显示效果提出的新需求,需要将APP中的某些特定字符显示为不同于UE使用的通用字体的另一种特殊字体,以达到对部分重要信息进行突出显示的效果。In the related art, generally, a user equipment (User Equipment, UE) has at least one general font that can be selected, and a font file corresponding to the universal font can be stored in a certain directory of the UE (eg, system\font). Next, the UE is, for example, a computer, a mobile phone, a PDA, a watch, or the like. The operating system of the UE may be an Android (android) system, and the font file may be a TTF (TrueType Font) file, and the file name of the file is suffixed with .ttf. Of course, the font file is not limited to the TTF file. This article only uses the TTF file as an example. When the UE is set to use a certain general-purpose font, characters in all applications on the UE (including the system-owned application and the third-party application) are usually displayed as such a general-purpose font. Currently, in order to meet the new demands of people on the display effect of APP pages, it is necessary to display some specific characters in the APP as another special font different from the common font used by the UE, so as to highlight some important information. effect.
图1示出了一示例性实施例提供的一种应用程序APP的页面显示方法的流程,所述APP可被安装在UE上。在本实施例中,该方法包括步骤101、步骤102以及步骤103,其中:FIG. 1 shows a flow of a page display method of an application APP, which may be installed on a UE, according to an exemplary embodiment. In this embodiment, the method includes step 101, step 102, and step 103, where:
步骤101、将存储于APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中,所述字体对象可以包括字符编码和与所述字符编码对应的字符图标。Step 101: Convert a font file stored in a specified directory of the APP into a font object and write the font object into a memory, wherein the font object may include a character encoding and a character icon corresponding to the character encoding.
在步骤101之前,需要生成TTF文件(对应于特殊字体)。在一可选的实施例中,可以通过如下步骤110~步骤130来生成TTF文件,其中:Before step 101, a TTF file (corresponding to a special font) needs to be generated. In an optional embodiment, the TTF file may be generated by the following steps 110 to 130, where:
步骤110、根据所述字符显示控件上可能显示的每一种字符,提供与各字符对应的字符图标。Step 110: Provide a character icon corresponding to each character according to each character that may be displayed on the character display control.
在一种示例性应用场景中,所述APP可为用以实现网络支付的APP,在 这一类APP上,用户希望通过特殊字体展示的字符可为资金数额。以资金数额为例,用以显示资金数额的字符显示控件可包括纯显示类控件和/或输入显示类控件。其中,纯显示类控件即该控件只用于显示资金金额,输入显示类控件即用于显示用户所输入的资金金额的控件(即一种字符输入框)。一般地,用以组成资金金额的字符可包括数字字符0~9,以及“·”、“,”。为此,可以预先为这12个字符按照所想要展示的特殊字体的样式,准备各自对应的字体图标(可为png格式的文件)。其中每个字体图标可以由人为手写而成,也可以通过机器来绘制。例如:如果想要使用的特殊字体为行楷,则按照行楷的样式获得与各个字符对应的字体图标。In an exemplary application scenario, the APP may be an APP for implementing network payment. On this type of APP, a character that the user desires to display through a special font may be a fund amount. Taking the amount of funds as an example, the character display control for displaying the amount of funds may include a pure display type control and/or an input display type control. Among them, the pure display type control means that the control is only used to display the amount of funds, and the input display type control is a control for displaying the amount of funds input by the user (ie, a character input box). Generally, the characters used to form the amount of funds may include numeric characters 0-9, and "·", ",". To this end, you can prepare the corresponding font icons (which can be files in png format) for the 12 characters in advance according to the style of the special font you want to display. Each font icon can be handwritten by hand or drawn by machine. For example, if the special font you want to use is a line, the font icon corresponding to each character is obtained according to the style of the line.
步骤120、提供与各字符对应的字符编码。例如,字符编码可采用Unicode(统一码)。即,上述12个字符中的每一种,都会对应于一个Unicode编码。Step 120: Provide a character encoding corresponding to each character. For example, character encoding can use Unicode (Unicode). That is, each of the above 12 characters corresponds to a Unicode code.
步骤130、将所述字符图标以及与各字符图标对应的字符编码上传到字体文件生成平台,以通过所述字体文件生成平台生成字体文件(如.ttf)。Step 130: Upload the character icon and the character code corresponding to each character icon to a font file generation platform, to generate a font file (such as .ttf) by using the font file generation platform.
最终,在生成字体文件之后,可将生成的字体文件存储于所述APP的指定目录下,其中,该过程可以在UE的使用者通过下载该APP的安装包并安装到UE时发生。需说明的是,也可以通过其他用以生成TTF文件的工具来生成TTF文件。Finally, after the font file is generated, the generated font file may be stored in a specified directory of the APP, wherein the process may occur when the user of the UE downloads the installation package of the APP and installs to the UE. It should be noted that the TTF file can also be generated by other tools for generating TTF files.
在以上步骤101中,当用户在UE上开启所述APP之后,存储于APP的指定目录下的字体文件会被读取到内存中。由于字体文件并不能被APP直接用来显示字符,通常,需要对字体文件进行解析,并转换为相应的字体对象。以TTF文件为例,最终将TTF文件转换为TTF对象,其中TTF对象可以看作一种包含字符编码和与所述字符编码对应的字符图标的数据流,这一数据流可被存放在内存中。此外,在某些实施例中,为了避免再次使用APP时需要重新将TTF文件转换为TTF对象,可以将转化获得的TTF对象缓存于内存中。总之,在使用APP时,APP可以根据内存中存储的TTF对象,获得与特殊字体对应的字符编码以及字符图标,并用作字符的显示。In the above step 101, after the user opens the APP on the UE, the font file stored in the specified directory of the APP is read into the memory. Since the font file cannot be directly used by the APP to display characters, it is usually necessary to parse the font file and convert it to the corresponding font object. Taking a TTF file as an example, the TTF file is finally converted into a TTF object, wherein the TTF object can be regarded as a data stream containing a character code and a character icon corresponding to the character code, and the data stream can be stored in the memory. . In addition, in some embodiments, in order to avoid re-converting the TTF file to a TTF object when the APP is used again, the TTF object obtained by the conversion may be cached in the memory. In short, when using the APP, the APP can obtain a character encoding and a character icon corresponding to the special font according to the TTF object stored in the memory, and use it as a display of the character.
步骤102、确定所述APP中与所述字体文件关联的至少一个字符显示控 件。Step 102: Determine at least one character display control associated with the font file in the APP.
在一实施例中,APP是否启用通过特殊字体来在至少一个字符显示控件上显示字符的功能,可以由APP的使用者来设定,为此,APP可向使用者开放设置这一功能的接口。可选地,使用者还可以设定在哪些APP页面上、或者哪些字符显示控件上启用该功能。在设置完成之后,便确定了字体文件(对应于特殊字体)和使用该字体文件的至少一个字符显示控件之间的关联关系。当然,APP的开发者也可以通过对APP中的某些控件的定义代码来确定其是否需要与上述字体文件产生关联,并且APP的使用者不能自行修改这一关联关系。In an embodiment, whether the APP enables the function of displaying characters on at least one character display control by using a special font may be set by the user of the APP. To this end, the APP may open the interface for setting the function to the user. . Optionally, the user can also set which APP pages, or which character display controls, to enable the function. After the setting is completed, it is determined that the font file (corresponding to the special font) and the at least one character display control using the font file are associated with each other. Of course, the developer of the APP can also determine whether it needs to be associated with the above font file by defining the code of some controls in the APP, and the user of the APP cannot modify the association by itself.
在一可选实施例中,步骤102可以具体为:根据设定的场景标识,确定所述APP中与所述字体文件关联的至少一个字符显示控件。其中,所述场景标识可用以指示使用所述字体文件显示字符的至少一个字符显示控件的控件标识。In an optional embodiment, step 102 may be specifically: determining, according to the set scene identifier, at least one character display control associated with the font file in the APP. The scene identifier may be used to indicate a control identifier of the at least one character display control that displays the character using the font file.
在一可选实施例中,所述方法还包括:In an optional embodiment, the method further includes:
根据用户对所述APP的设置操作,生成所述场景标识并存储于安装所述APP的用户设备上。例如,用户可以通过对APP的设置操作,来设定在该APP上的至少一种字符显示控件上显示该特殊字体,在设置之后,便生成了相应的场景标识,有了该场景标识,在后续用户使用该APP时,UE便可以根据场景标识确定需要在哪些字符显示控件上使用该特殊字体来显示字符。实际上,场景标识可以作为一种用来确定是否使用特殊字体功能的开关。The scene identifier is generated and stored on the user equipment where the APP is installed, according to the setting operation of the user by the user. For example, the user can set the special font on the at least one character display control on the APP by setting the operation of the APP, and after setting, the corresponding scene identifier is generated, and the scene identifier is When the subsequent user uses the APP, the UE can determine which character display controls need to use the special font to display characters according to the scene identifier. In fact, the scene identifier can be used as a switch to determine whether to use a special font function.
步骤103、在显示包含被关联的所述字符显示控件的APP页面时,基于所述内存中的字体对象,将所述字符显示控件上的字符显示为与该字符的字符编码对应的字符图标。Step 103: When displaying an APP page including the associated character display control, displaying a character on the character display control as a character icon corresponding to a character encoding of the character based on the font object in the memory.
在本申请一实施例中,所述APP除所述字符显示控件上显示的字符外的其他字符可以被显示为用户设备使用的通用字体。当然,在可行的实施例中,可能会使用两种或两种以上的特殊字体来对APP中的字符进行显示,以转账场景为例,转入的金额通过第一特殊字体来展示,而转出的金额则可以通过 第二特殊字体来展示,这样,APP就不仅仅采用通用字体和一种特殊字体来显示字符了。In an embodiment of the present application, other characters of the APP other than the characters displayed on the character display control may be displayed as a universal font used by the user equipment. Of course, in a feasible embodiment, two or more special fonts may be used to display the characters in the APP. Taking the transfer scenario as an example, the amount transferred is displayed by the first special font, and The amount can be displayed in the second special font, so that the APP not only uses the universal font and a special font to display the characters.
图2示出了一种示例性的包含字符显示控件的APP页面,该APP页面可为一种网络支付APP的转账页面。如图2所示,在该例子中,假设需要使用的特殊字体为行楷,而UE使用的通用字体为宋体,则在转账页面10上,通常用户希望将重要信息(转账金额)采用特殊字体进行显示,以给用户一种突出显示的效果。则在显示时,用以输入转账金额的输入框11内的字符被显示为行楷,而该转账页面10上的其余字符都被显示为宋体。在其他场景中,可以将同一页面中的一个或多个字符显示控件上的字符显示为特殊字体,也可以在同一页面中采用至少两种特殊字体进行显示,对此本文均不作限制。此外,该方法的应用场景还包括很多,例如:将网约车APP上的司机车牌信息通过特殊字体进行显示,或将互联网平台上的优惠信息通过特殊字体进行显示等,本文不一一列举。FIG. 2 illustrates an exemplary APP page including a character display control, which may be a transfer page of a web payment application. As shown in FIG. 2, in this example, assuming that the special font to be used is a line, and the common font used by the UE is Song, on the transfer page 10, the user usually wants to use important fonts (transfer amount) in a special font. Display to give the user a highlighted effect. Then, when displayed, the characters in the input box 11 for inputting the transfer amount are displayed as lines, and the remaining characters on the transfer page 10 are displayed as Times New Roman. In other scenarios, characters on one or more character display controls on the same page may be displayed as special fonts, or at least two special fonts may be displayed on the same page, which are not limited in this article. In addition, the application scenarios of the method include a lot, for example, displaying the driver license plate information on the Internet car APP through a special font, or displaying the preferential information on the Internet platform through a special font, etc., which are not enumerated herein.
作为以上方法的一种具体应用场景,一种应用程序APP的页面显示方法,包括如下步骤:As a specific application scenario of the foregoing method, a page display method of an application APP includes the following steps:
将存储于所述APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标。Converting a font file stored in a specified directory of the APP into a font object and writing the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding.
确定所述APP中与所述字体文件关联的至少一个用于显示资金数额的资金显示控件。Determining at least one fund display control for displaying the amount of funds associated with the font file in the APP.
在显示包含被关联的所述资金显示控件的APP页面时,基于所述内存中的字体对象,将所述资金显示控件上的字符显示为与该字符的字符编码对应的字符图标。When displaying the APP page including the associated fund display control, the character on the fund display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
通过以上各技术方案可以看出,本申请实施例通过APP的指定目录下存储的字体文件(对应一种字体),实现将APP中的至少一个字符显示控件上的字符显示为该字体文件所对应的字体,使得APP在这些关联的字符显示控件上显示的字符因为具有个性化的字体,而显示更为突出,提升了页面显示 效果,达到更优的视觉展示效果。It can be seen from the above technical solutions that the font file (corresponding to a font) stored in the specified directory of the APP is used to display the characters on the at least one character display control in the APP as corresponding to the font file. The fonts make the characters displayed on the associated character display controls because of the personalized fonts, and the display is more prominent, which improves the page display effect and achieves a better visual display effect.
与上述方法相对应的,本文还提供了一种应用程序APP的页面显示装置,该装置可以包括软件中的各个代码模块。Corresponding to the above method, the present invention also provides a page display device of an application APP, which may include various code modules in the software.
如图3所示,在一实施例中,一种应用程序APP的页面显示装置200可以包括TTF转换单元201、确定单元202以及字符展示单元203,其中:As shown in FIG. 3, in an embodiment, a page display apparatus 200 of an application APP may include a TTF conversion unit 201, a determination unit 202, and a character display unit 203, where:
TTF转换单元201被配置为:将存储于所述APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中,所述字体对象包括字符编码和与所述字符编码对应的字符图标;The TTF conversion unit 201 is configured to convert a font file stored in a specified directory of the APP into a font object and write the font object into a memory, wherein the font object includes a character encoding and the character Encoding the corresponding character icon;
确定单元202被配置为:确定所述APP中与所述字体文件关联的至少一个字符显示控件;The determining unit 202 is configured to: determine at least one character display control in the APP that is associated with the font file;
字符展示单元203被配置为:在显示包含被关联的所述字符显示控件的APP页面时,基于所述内存中的字体对象,将所述字符显示控件上的字符显示为与该字符的字符编码对应的字符图标。The character display unit 203 is configured to display, when the APP page including the associated character display control is displayed, a character on the character display control as a character code of the character based on the font object in the memory The corresponding character icon.
在一可选的实施例中,所述APP除所述字符显示控件上显示的字符外的其他字符被显示为用户设备使用的通用字体。In an optional embodiment, the APP displays other characters than the characters displayed on the character display control as a universal font used by the user equipment.
在一可选的实施例中,所述确定单元202可以被配置为:In an optional embodiment, the determining unit 202 can be configured to:
根据设定的场景标识,确定所述APP中与所述字体文件关联的至少一个字符显示控件,其中所述场景标识用以指示使用所述字体文件显示字符的至少一个字符显示控件的控件标识。Determining, according to the set scene identifier, at least one character display control associated with the font file in the APP, wherein the scene identifier is used to indicate a control identifier of at least one character display control using the font file to display a character.
其中,所述字符显示控件可包括纯显示类控件和/或输入显示类控件。The character display control may include a pure display class control and/or an input display class control.
在一可选的实施例中,所述装置200还可以包括:In an optional embodiment, the apparatus 200 may further include:
图标文件提供单元,根据所述字符显示控件上可能显示的每一种字符,提供与各字符对应的字符图标;An icon file providing unit that provides a character icon corresponding to each character according to each character that may be displayed on the character display control;
编码提供单元,提供与各字符对应的字符编码;a code providing unit that provides a character code corresponding to each character;
上传单元,将所述字符图标以及与各字符图标对应的字符编码上传到字体文件生成平台,以通过所述字体文件生成平台生成字体文件;Uploading a unit, uploading the character icon and a character code corresponding to each character icon to a font file generating platform, to generate a font file by using the font file generating platform;
存储单元,将生成的字体文件存储于所述APP的指定目录下。The storage unit stores the generated font file in a specified directory of the APP.
在一可选的实施例中,所述装置200还可以包括:In an optional embodiment, the apparatus 200 may further include:
场景标识生成单元,根据用户对所述APP的设置操作,生成所述场景标识并存储于安装所述APP的用户设备上。The scene identifier generating unit generates the scene identifier according to the setting operation of the APP by the user, and stores the scene identifier on the user equipment where the APP is installed.
在一可选的实施例中,所述字体文件可为TTF文件。In an optional embodiment, the font file can be a TTF file.
作为以上方法的一种具体应用场景,一种应用程序APP的页面显示装置200,包括:TTF转换单元201、确定单元202以及字符展示单元203,其中:As a specific application scenario of the above method, a page display device 200 of an application program includes: a TTF conversion unit 201, a determining unit 202, and a character display unit 203, where:
TTF转换单元201被配置为:将存储于所述APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;The TTF conversion unit 201 is configured to convert a font file stored in a specified directory of the APP into a font object and write the font object into a memory, wherein the font object includes a character encoding and the character encoding Corresponding character icon;
确定单元202被配置为:确定所述APP中与所述字体文件关联的至少一个用于显示资金数额的资金显示控件;The determining unit 202 is configured to: determine at least one fund display control in the APP associated with the font file for displaying a fund amount;
字符展示单元203被配置为:在显示包含被关联的所述资金显示控件的APP页面时,基于所述内存中的字体对象,将所述资金显示控件上的字符显示为与该字符的字符编码对应的字符图标。The character display unit 203 is configured to display, when the APP page including the associated fund display control is displayed, a character on the fund display control as a character code of the character based on the font object in the memory The corresponding character icon.
如图4所示,本说明书一个或多个实施例提供了一种电子设备(如:手机、电脑、PDA、手表等),该电子设备可以包括处理器、内部总线、网络接口、存储器(包括内存以及非易失性存储器),当然还可能包括其他业务所需要的硬件。处理器可为中央处理单元(CPU)、处理单元、处理电路、处理器、专用集成电路(ASIC)、微处理器或可执行指令的其他处理逻辑中的一个或多个实例。处理器从非易失性存储器中读取对应的程序到内存中然后运行。当然,除了软件实现方式之外,本说明书一个或多个实施例并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。As shown in FIG. 4, one or more embodiments of the present specification provide an electronic device (such as a mobile phone, a computer, a PDA, a watch, etc.), which may include a processor, an internal bus, a network interface, and a memory (including Memory and non-volatile memory), of course, may also include the hardware required for other services. The processor can be one or more of a central processing unit (CPU), a processing unit, a processing circuit, a processor, an application specific integrated circuit (ASIC), a microprocessor, or other processing logic of executable instructions. The processor reads the corresponding program from the non-volatile memory into memory and then runs. Of course, in addition to the software implementation, one or more embodiments of the present specification do not exclude other implementation manners, such as a logic device or a combination of software and hardware, etc., that is, the execution body of the following processing flow is not limited to each. A logical unit, which can also be a hardware or logic device.
在一种实施例中,所述处理器可以被配置为:In one embodiment, the processor can be configured to:
将存储于应用程序APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;Converting a font file stored in a specified directory of the application APP into a font object and writing the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding;
确定所述APP中与所述字体文件关联的至少一个字符显示控件;Determining at least one character display control associated with the font file in the APP;
在显示包含被关联的所述字符显示控件的APP页面时,基于所述内存中的字体对象,将所述字符显示控件上的字符显示为与该字符的字符编码对应的字符图标。When the APP page including the associated character display control is displayed, the character on the character display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
在另一种实施例中,所述处理器可以被配置为:In another embodiment, the processor can be configured to:
将存储于应用程序APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;Converting a font file stored in a specified directory of the application APP into a font object and writing the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding;
确定所述APP中与所述字体文件关联的至少一个用于显示资金数额的资金显示控件;Determining at least one fund display control for displaying a fund amount associated with the font file in the APP;
在显示包含被关联的所述资金显示控件的APP页面时,基于所述内存中的字体对象,将所述资金显示控件上的字符显示为与该字符的字符编码对应的字符图标。When displaying the APP page including the associated fund display control, the character on the fund display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
在一种实施例中,还提供了一种计算机存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如下步骤:In one embodiment, there is also provided a computer storage medium having stored thereon a computer program that, when executed by a processor, implements the following steps:
将存储于应用程序APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;Converting a font file stored in a specified directory of the application APP into a font object and writing the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding;
确定所述APP中与所述字体文件关联的至少一个字符显示控件;Determining at least one character display control associated with the font file in the APP;
在显示包含被关联的所述字符显示控件的APP页面时,基于所述内存中的字体对象,将所述字符显示控件上的字符显示为与该字符的字符编码对应的字符图标。When the APP page including the associated character display control is displayed, the character on the character display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
在另一种实施例中,还提供了一种计算机存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如下步骤:In another embodiment, there is also provided a computer storage medium having stored thereon a computer program, the computer program being executed by the processor to implement the following steps:
将存储于应用程序APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;Converting a font file stored in a specified directory of the application APP into a font object and writing the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding;
确定所述APP中与所述字体文件关联的至少一个用于显示资金数额的资金显示控件;Determining at least one fund display control for displaying a fund amount associated with the font file in the APP;
在显示包含被关联的所述资金显示控件的APP页面时,基于所述内存中的字体对象,将所述资金显示控件上的字符显示为与该字符的字符编码对应的字符图标。When displaying the APP page including the associated fund display control, the character on the fund display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同/相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于设备实施例、装置实施例、存储介质实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in the specification are described in a progressive manner, and the same/similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device embodiment, the device embodiment, and the storage medium embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。The system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function. A typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email transceiver, and a game control. A combination of a tablet, a tablet, a wearable device, or any of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本说明书一个或多个实施例时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, the above devices are described separately by function into various units. Of course, the functions of the various units may be implemented in one or more software and/or hardware when implementing one or more embodiments of the present specification.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流 程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flashRAM)。内存是计算机可读介质的示例。The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory, such as read only memory (ROM) or flash memory (flashRAM), in a computer readable medium. Memory is an example of a computer readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存 电脑可读媒体(transitorymedia),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary storage computer readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It is also to be understood that the terms "comprises" or "comprising" or "comprising" or any other variations are intended to encompass a non-exclusive inclusion, such that a process, method, article, Other elements not explicitly listed, or elements that are inherent to such a process, method, commodity, or equipment. An element defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device including the element.
本领域技术人员应明白,本说明书一个或多个实施例的实施例可提供为方法、系统或计算机程序产品。因此,本说明书一个或多个实施例可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本说明书一个或多个实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of one or more embodiments of the present disclosure can be provided as a method, system, or computer program product. Thus, one or more embodiments of the present specification can take the form of an entirely hardware embodiment, an entirely software embodiment or a combination of software and hardware. Moreover, one or more embodiments of the present specification can employ a computer program embodied on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer usable program code embodied therein. The form of the product.
本说明书一个或多个实施例可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书一个或多个实施例,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。One or more embodiments of the present specification can be described in the general context of computer-executable instructions executed by a computer, such as a program module. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform particular tasks or implement particular abstract data types. One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are connected through a communication network. In a distributed computing environment, program modules can be located in both local and remote computer storage media including storage devices.
以上所述仅为本说明书一个或多个实施例的实施例而已,并不用于限制本说明书一个或多个实施例。对于本领域技术人员来说,本说明书一个或多个实施例可以有各种更改和变化。凡在本说明书一个或多个实施例的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本说明书一个或多个实施例的权利要求范围之内。The above description is only an embodiment of one or more embodiments of the present specification, and is not intended to limit one or more embodiments of the present specification. Various changes and modifications can be made to one or more embodiments of the present disclosure. Any modifications, equivalents, improvements, etc. within the spirit and scope of the present invention are intended to be included within the scope of the appended claims.

Claims (20)

  1. 一种应用程序APP的页面显示方法,包括:A page display method of an application APP, comprising:
    将存储于所述APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;Converting a font file stored in a specified directory of the APP into a font object and writing the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding;
    确定所述APP中与所述字体文件关联的至少一个字符显示控件;Determining at least one character display control associated with the font file in the APP;
    在显示包含被关联的所述字符显示控件的APP页面时,基于所述内存中的字体对象,将所述字符显示控件上的字符显示为与该字符的字符编码对应的字符图标。When the APP page including the associated character display control is displayed, the character on the character display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
  2. 根据权利要求1所述的方法,所述APP除所述字符显示控件上显示的字符外的其他字符被显示为用户设备使用的通用字体。The method of claim 1, the other characters of the APP other than the characters displayed on the character display control are displayed as a universal font used by the user device.
  3. 根据权利要求1所述的方法,所述确定所述APP中与所述字体文件关联的至少一个字符显示控件包括:The method according to claim 1, wherein the determining at least one character display control associated with the font file in the APP comprises:
    根据设定的场景标识,确定所述APP中与所述字体文件关联的至少一个字符显示控件,其中所述场景标识用以指示使用所述字体文件显示字符的至少一个字符显示控件的控件标识。Determining, according to the set scene identifier, at least one character display control associated with the font file in the APP, wherein the scene identifier is used to indicate a control identifier of at least one character display control using the font file to display a character.
  4. 根据权利要求1所述的方法,所述字符显示控件包括纯显示类控件和/或输入显示类控件。The method of claim 1, the character display control comprising a pure display class control and/or an input display class control.
  5. 根据权利要求1所述的方法,将存储于所述APP的指定目录下的字体文件转化成字体对象之前,所述方法还包括:The method according to claim 1, before converting the font file stored in the specified directory of the APP into a font object, the method further includes:
    根据所述字符显示控件上可能显示的每一种字符,提供与各字符对应的字符图标;Providing a character icon corresponding to each character according to each character that may be displayed on the character display control;
    提供与各字符对应的字符编码;Providing a character encoding corresponding to each character;
    将所述字符图标以及与各字符图标对应的字符编码上传到字体文件生成平台,以通过所述字体文件生成平台生成字体文件;And uploading the character icon and the character code corresponding to each character icon to a font file generation platform, to generate a font file by using the font file generation platform;
    将生成的字体文件存储于所述APP的指定目录下。The generated font file is stored in a specified directory of the APP.
  6. 根据权利要求3所述的方法,所述方法还包括:The method of claim 3, further comprising:
    根据用户对所述APP的设置操作,生成所述场景标识并存储于安装所述APP的用户设备上。The scene identifier is generated and stored on the user equipment where the APP is installed, according to the setting operation of the user by the user.
  7. 根据权利要求1所述的方法,所述字体文件为TTF文件。The method of claim 1 wherein the font file is a TTF file.
  8. 一种应用程序APP的页面显示方法,包括:A page display method of an application APP, comprising:
    将存储于所述APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;Converting a font file stored in a specified directory of the APP into a font object and writing the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding;
    确定所述APP中与所述字体文件关联的至少一个用于显示资金数额的资金显示控件;Determining at least one fund display control for displaying a fund amount associated with the font file in the APP;
    在显示包含被关联的所述资金显示控件的APP页面时,基于所述内存中的字体对象,将所述资金显示控件上的字符显示为与该字符的字符编码对应的字符图标。When displaying the APP page including the associated fund display control, the character on the fund display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
  9. 一种应用程序APP的页面显示装置,包括:A page display device of an application APP, comprising:
    TTF转换单元,将存储于所述APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;a TTF conversion unit that converts a font file stored in a specified directory of the APP into a font object and writes the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding ;
    确定单元,确定所述APP中与所述字体文件关联的至少一个字符显示控件;Determining a unit, determining at least one character display control associated with the font file in the APP;
    字符展示单元,在显示包含被关联的所述字符显示控件的APP页面时,基于所述内存中的字体对象,将所述字符显示控件上的字符显示为与该字符的字符编码对应的字符图标。a character display unit, when displaying an APP page including the associated character display control, displaying a character on the character display control as a character icon corresponding to a character encoding of the character based on the font object in the memory .
  10. 根据权利要求9所述的装置,所述APP除所述字符显示控件上显示的字符外的其他字符被显示为用户设备使用的通用字体。The apparatus according to claim 9, wherein the APP is displayed as a general-purpose font used by the user device in addition to characters displayed on the character display control.
  11. 根据权利要求9所述的装置,所述确定单元被配置为:The apparatus according to claim 9, wherein the determining unit is configured to:
    根据设定的场景标识,确定所述APP中与所述字体文件关联的至少一个字符显示控件,其中所述场景标识用以指示使用所述字体文件显示字符的至 少一个字符显示控件的控件标识。And determining, according to the set scene identifier, at least one character display control associated with the font file in the APP, wherein the scene identifier is used to indicate a control identifier of at least one character display control using the font file to display characters.
  12. 根据权利要求9所述的装置,所述字符显示控件包括纯显示类控件和/或输入显示类控件。The apparatus of claim 9, the character display control comprising a pure display type control and/or an input display type control.
  13. 根据权利要求9所述的装置,所述装置还包括:The apparatus of claim 9 further comprising:
    图标文件提供单元,根据所述字符显示控件上可能显示的每一种字符,提供与各字符对应的字符图标;An icon file providing unit that provides a character icon corresponding to each character according to each character that may be displayed on the character display control;
    编码提供单元,提供与各字符对应的字符编码;a code providing unit that provides a character code corresponding to each character;
    上传单元,将所述字符图标以及与各字符图标对应的字符编码上传到字体文件生成平台,以通过所述字体文件生成平台生成字体文件;Uploading a unit, uploading the character icon and a character code corresponding to each character icon to a font file generating platform, to generate a font file by using the font file generating platform;
    存储单元,将生成的字体文件存储于所述APP的指定目录下。The storage unit stores the generated font file in a specified directory of the APP.
  14. 根据权利要求11所述的装置,所述装置还包括:The apparatus of claim 11 further comprising:
    场景标识生成单元,根据用户对所述APP的设置操作,生成所述场景标识并存储于安装所述APP的用户设备上。The scene identifier generating unit generates the scene identifier according to the setting operation of the APP by the user, and stores the scene identifier on the user equipment where the APP is installed.
  15. 根据权利要求9所述的装置,所述字体文件为TTF文件。The apparatus of claim 9, the font file being a TTF file.
  16. 一种应用程序APP的页面显示装置,包括:A page display device of an application APP, comprising:
    TTF转换单元,将存储于所述APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;a TTF conversion unit that converts a font file stored in a specified directory of the APP into a font object and writes the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding ;
    确定单元,确定所述APP中与所述字体文件关联的至少一个用于显示资金数额的资金显示控件;Determining a unit, determining at least one fund display control in the APP associated with the font file for displaying a fund amount;
    字符展示单元,在显示包含被关联的所述资金显示控件的APP页面时,基于所述内存中的字体对象,将所述资金显示控件上的字符显示为与该字符的字符编码对应的字符图标。a character display unit, when displaying an APP page including the associated fund display control, displaying a character on the fund display control as a character icon corresponding to a character code of the character based on the font object in the memory .
  17. 一种电子设备,包括:An electronic device comprising:
    处理器;processor;
    用于存储处理器可执行指令的存储器;a memory for storing processor executable instructions;
    所述处理器被配置为:The processor is configured to:
    将存储于应用程序APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;Converting a font file stored in a specified directory of the application APP into a font object and writing the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding;
    确定所述APP中与所述字体文件关联的至少一个字符显示控件;Determining at least one character display control associated with the font file in the APP;
    在显示包含被关联的所述字符显示控件的APP页面时,基于所述内存中的字体对象,将所述字符显示控件上的字符显示为与该字符的字符编码对应的字符图标。When the APP page including the associated character display control is displayed, the character on the character display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
  18. 一种电子设备,包括:An electronic device comprising:
    处理器;processor;
    用于存储处理器可执行指令的存储器;a memory for storing processor executable instructions;
    所述处理器被配置为:The processor is configured to:
    将存储于应用程序APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;Converting a font file stored in a specified directory of the application APP into a font object and writing the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding;
    确定所述APP中与所述字体文件关联的至少一个用于显示资金数额的资金显示控件;Determining at least one fund display control for displaying a fund amount associated with the font file in the APP;
    在显示包含被关联的所述资金显示控件的APP页面时,基于所述内存中的字体对象,将所述资金显示控件上的字符显示为与该字符的字符编码对应的字符图标。When displaying the APP page including the associated fund display control, the character on the fund display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
  19. 一种计算机存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如下步骤:A computer storage medium having stored thereon a computer program that, when executed by a processor, implements the following steps:
    将存储于应用程序APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;Converting a font file stored in a specified directory of the application APP into a font object and writing the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding;
    确定所述APP中与所述字体文件关联的至少一个字符显示控件;Determining at least one character display control associated with the font file in the APP;
    在显示包含被关联的所述字符显示控件的APP页面时,基于所述内存中的字体对象,将所述字符显示控件上的字符显示为与该字符的字符编码对应 的字符图标。When the APP page including the associated character display control is displayed, the character on the character display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
  20. 一种计算机存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如下步骤:A computer storage medium having stored thereon a computer program that, when executed by a processor, implements the following steps:
    将存储于应用程序APP的指定目录下的字体文件转化成字体对象并将所述字体对象写入内存中,其中所述字体对象包括字符编码和与所述字符编码对应的字符图标;Converting a font file stored in a specified directory of the application APP into a font object and writing the font object into a memory, wherein the font object includes a character encoding and a character icon corresponding to the character encoding;
    确定所述APP中与所述字体文件关联的至少一个用于显示资金数额的资金显示控件;Determining at least one fund display control for displaying a fund amount associated with the font file in the APP;
    在显示包含被关联的所述资金显示控件的APP页面时,基于所述内存中的字体对象,将所述资金显示控件上的字符显示为与该字符的字符编码对应的字符图标。When displaying the APP page including the associated fund display control, the character on the fund display control is displayed as a character icon corresponding to the character encoding of the character based on the font object in the memory.
PCT/CN2018/104274 2017-09-11 2018-09-06 Page display method and apparatus for application program (app), device, and storage medium WO2019047881A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710813531.6 2017-09-11
CN201710813531.6A CN107704299A (en) 2017-09-11 2017-09-11 The page display method and device of application APP, equipment, storage medium

Publications (1)

Publication Number Publication Date
WO2019047881A1 true WO2019047881A1 (en) 2019-03-14

Family

ID=61172471

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/104274 WO2019047881A1 (en) 2017-09-11 2018-09-06 Page display method and apparatus for application program (app), device, and storage medium

Country Status (3)

Country Link
CN (1) CN107704299A (en)
TW (1) TW201913370A (en)
WO (1) WO2019047881A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107704299A (en) * 2017-09-11 2018-02-16 阿里巴巴集团控股有限公司 The page display method and device of application APP, equipment, storage medium
CN110941943A (en) * 2018-09-19 2020-03-31 珠海金山办公软件有限公司 Font display method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049261A (en) * 2012-12-11 2013-04-17 广东欧珀移动通信有限公司 Mobile terminal font changing method
CN103902513A (en) * 2014-03-21 2014-07-02 北京百度网讯科技有限公司 Method and device for displaying fonts in terminal device
CN105138355A (en) * 2015-08-10 2015-12-09 北京金山安全软件有限公司 Method and device for inserting elements in interface of application program and electronic equipment
CN105549817A (en) * 2015-12-09 2016-05-04 广州阿里巴巴文学信息技术有限公司 Font package generation method and device and graphic display method and device
CN107704299A (en) * 2017-09-11 2018-02-16 阿里巴巴集团控股有限公司 The page display method and device of application APP, equipment, storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10546010B2 (en) * 2012-12-19 2020-01-28 Oath Inc. Method and system for storytelling on a computing device
CN103559280A (en) * 2013-11-08 2014-02-05 厦门亿联网络技术股份有限公司 Method for flexibly storing and displaying icons

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049261A (en) * 2012-12-11 2013-04-17 广东欧珀移动通信有限公司 Mobile terminal font changing method
CN103902513A (en) * 2014-03-21 2014-07-02 北京百度网讯科技有限公司 Method and device for displaying fonts in terminal device
CN105138355A (en) * 2015-08-10 2015-12-09 北京金山安全软件有限公司 Method and device for inserting elements in interface of application program and electronic equipment
CN105549817A (en) * 2015-12-09 2016-05-04 广州阿里巴巴文学信息技术有限公司 Font package generation method and device and graphic display method and device
CN107704299A (en) * 2017-09-11 2018-02-16 阿里巴巴集团控股有限公司 The page display method and device of application APP, equipment, storage medium

Also Published As

Publication number Publication date
TW201913370A (en) 2019-04-01
CN107704299A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
EP3550811B1 (en) Information presentation method and system
TWI728266B (en) Two-dimensional bar code generation, business processing method, device and equipment, and two-dimensional bar code
US9122491B2 (en) Detecting serialization scheme used in software applications
US8074167B2 (en) Cross domain presence of web user interface and logic
WO2017148298A1 (en) Method and apparatus reusing list cell in hybrid application
US20120096344A1 (en) Rendering or resizing of text and images for display on mobile / small screen devices
WO2018113601A1 (en) Service processing method and apparatus
CN105824830B (en) Method, client and equipment for displaying page
US20120072978A1 (en) Desired Font Rendering
CN107943465B (en) Method and device for generating HTML (Hypertext markup language) form
JP2014502384A (en) Style sheet identifier
US20130036196A1 (en) Method and system for publishing template-based content
WO2019179243A1 (en) Information display method, apparatus and device
WO2021197140A1 (en) Generation of applet file package
WO2016004814A1 (en) Service visualization method and system
CN110020231A (en) Webpage capture method and device thereof
WO2018120892A1 (en) Method for accessing point of sale terminal, terminal, and non-volatile readable storage medium
CN112015626A (en) User behavior recording method, device and equipment
CN112487331A (en) Page generation method and device, storage medium and electronic equipment
CN113536174A (en) Interface loading method, device and equipment
CN111443909A (en) Method and device for generating page
CN114611481A (en) Template configuration method and device, computer equipment and storage medium
WO2019047881A1 (en) Page display method and apparatus for application program (app), device, and storage medium
CN106817394B (en) Method and server for transmitting product configuration parameters
CN111506848A (en) Webpage processing method, device, equipment and readable storage medium

Legal Events

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

Ref document number: 18854816

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18854816

Country of ref document: EP

Kind code of ref document: A1