WO2019047881A1 - Procédé et appareil d'affichage de pages pour programme d'application (application), dispositif, et support de stockage - Google Patents

Procédé et appareil d'affichage de pages pour programme d'application (application), dispositif, et support de stockage 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
English (en)
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/fr

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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

L'invention concerne un procédé et un appareil d'affichage de pages destinés à un programme d'application (application), un dispositif, et un support de stockage. Le procédé comporte les étapes consistant à: convertir un fichier de police stocké sous un répertoire désigné d'une application en un objet de police et écrire l'objet de police dans une mémoire (101), l'objet de police comportant un code de caractère et une icône de caractère correspondant au code de caractère; déterminer au moins un contrôle d'affichage de caractère dans l'application associée au fichier de police (102); et lors de l'affichage de la page d'application contenant le contrôle d'affichage de caractère associé, afficher, sur la base de l'objet de police présent dans la mémoire, le caractère figurant sur le contrôle d'affichage de caractère en tant qu'icône de caractère correspondant au code de caractère du caractère (103).
PCT/CN2018/104274 2017-09-11 2018-09-06 Procédé et appareil d'affichage de pages pour programme d'application (application), dispositif, et support de stockage WO2019047881A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710813531.6 2017-09-11
CN201710813531.6A CN107704299A (zh) 2017-09-11 2017-09-11 应用程序app的页面显示方法及装置、设备、存储介质

Publications (1)

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

Family

ID=61172471

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/104274 WO2019047881A1 (fr) 2017-09-11 2018-09-06 Procédé et appareil d'affichage de pages pour programme d'application (application), dispositif, et support de stockage

Country Status (3)

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

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107704299A (zh) * 2017-09-11 2018-02-16 阿里巴巴集团控股有限公司 应用程序app的页面显示方法及装置、设备、存储介质
CN110941943A (zh) * 2018-09-19 2020-03-31 珠海金山办公软件有限公司 一种字体显示方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049261A (zh) * 2012-12-11 2013-04-17 广东欧珀移动通信有限公司 一种移动终端字体更换方法
CN103902513A (zh) * 2014-03-21 2014-07-02 北京百度网讯科技有限公司 在终端设备中显示字体的方法及装置
CN105138355A (zh) * 2015-08-10 2015-12-09 北京金山安全软件有限公司 应用程序的界面中元素的插入方法及装置、电子设备
CN105549817A (zh) * 2015-12-09 2016-05-04 广州阿里巴巴文学信息技术有限公司 字体包的生成方法、装置和图形的展示方法、装置
CN107704299A (zh) * 2017-09-11 2018-02-16 阿里巴巴集团控股有限公司 应用程序app的页面显示方法及装置、设备、存储介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10565245B2 (en) * 2012-12-19 2020-02-18 Oath Inc. Method and system for storytelling on a computing device via a mixed-media module engine
CN103559280A (zh) * 2013-11-08 2014-02-05 厦门亿联网络技术股份有限公司 一种灵活存储和显示图标的方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049261A (zh) * 2012-12-11 2013-04-17 广东欧珀移动通信有限公司 一种移动终端字体更换方法
CN103902513A (zh) * 2014-03-21 2014-07-02 北京百度网讯科技有限公司 在终端设备中显示字体的方法及装置
CN105138355A (zh) * 2015-08-10 2015-12-09 北京金山安全软件有限公司 应用程序的界面中元素的插入方法及装置、电子设备
CN105549817A (zh) * 2015-12-09 2016-05-04 广州阿里巴巴文学信息技术有限公司 字体包的生成方法、装置和图形的展示方法、装置
CN107704299A (zh) * 2017-09-11 2018-02-16 阿里巴巴集团控股有限公司 应用程序app的页面显示方法及装置、设备、存储介质

Also Published As

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

Similar Documents

Publication Publication Date Title
EP3550811B1 (fr) Procédé et système de présentation d'informations
US9122491B2 (en) Detecting serialization scheme used in software applications
US8074167B2 (en) Cross domain presence of web user interface and logic
WO2017148298A1 (fr) Procédé et appareil réutilisant une cellule de liste dans une application hybride
US20120096344A1 (en) Rendering or resizing of text and images for display on mobile / small screen devices
WO2018113601A1 (fr) Procédé et appareil de traitement de service
CN105824830B (zh) 一种显示页面的方法、客户端及设备
US20130036196A1 (en) Method and system for publishing template-based content
CN107943465B (zh) 一种生成html表单的方法及装置
JP2014502384A (ja) スタイルシート用識別子
WO2019033995A1 (fr) Procédé et dispositif de mise à jour de page
WO2019179243A1 (fr) Procédé, appareil et dispositif d'affichage d'informations
WO2021197140A1 (fr) Génération d'un paquet de fichiers d'applet
WO2016004814A1 (fr) Procédé et système de visualisation de service
CN110020231A (zh) 网页截图方法及其装置
JP2018514822A (ja) デジタルコンテンツの可視性の検出
CN112015626A (zh) 用户行为的记录方法、装置及设备
CN112487331A (zh) 页面生成方法和装置、存储介质和电子设备
CN111506300A (zh) 一种小程序生成方法、装置、设备及存储介质
CN113536174A (zh) 一种界面加载方法、装置及设备
CN114611481A (zh) 模板的配置方法、装置、计算机设备、存储介质
WO2019047881A1 (fr) Procédé et appareil d'affichage de pages pour programme d'application (application), dispositif, et support de stockage
WO2020063181A1 (fr) Procédé, dispositif et appareil de traitement de données
CN111506848A (zh) 网页处理方法、装置、设备及可读存储介质
CN111752431B (zh) 信息的展示方法及装置

Legal Events

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

Ref document number: 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