WO2020248745A1 - 用户界面中字符的显示方法、装置、电子设备及存储介质 - Google Patents
用户界面中字符的显示方法、装置、电子设备及存储介质 Download PDFInfo
- Publication number
- WO2020248745A1 WO2020248745A1 PCT/CN2020/088984 CN2020088984W WO2020248745A1 WO 2020248745 A1 WO2020248745 A1 WO 2020248745A1 CN 2020088984 W CN2020088984 W CN 2020088984W WO 2020248745 A1 WO2020248745 A1 WO 2020248745A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- font
- character
- configuration file
- displayed
- user interface
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Definitions
- the present disclosure relates to the field of mobile terminal display technology. Specifically, the present disclosure relates to a method, device, electronic device, and storage medium for displaying characters in a user interface.
- a user interface is an interface displayed on a mobile terminal for realizing human-computer interaction, for example, an interface displayed on an application program, with one or more virtual buttons displayed on the interface, or a list of information content. The user can execute the corresponding function or display the corresponding information by clicking the virtual button.
- the existing software adjusts the font of the characters in the user interface
- the purpose of the present disclosure is to solve at least one of the above technical defects.
- the technical solutions adopted in the present disclosure are as follows:
- a method for displaying characters in a user interface including:
- the font configuration file is obtained by sending a font configuration file obtaining request to the server, and the font configuration file is used to obtain corresponding font information based on the character identifier;
- the characters to be displayed are rendered and displayed according to the font information of the characters to be displayed.
- the character to be displayed is a designated character in the current user interface.
- the above method further includes:
- the receiving server obtains the font configuration file returned by the request based on the font configuration file.
- the font configuration file stores a first corresponding relationship between the character identifier and the font identifier, and a download path of the font file, and the font file stores a second corresponding relationship between the font identifier and the font information;
- the method After obtaining the font configuration file, the method also includes:
- the font information of the character to be displayed is obtained, including:
- the font information corresponding to the determined font identifier is obtained.
- the above method further includes:
- the stored font file is updated.
- Another method for displaying characters in a user interface includes:
- the font configuration file is returned to the client based on the font configuration file acquisition request, so that the client can obtain the font information of the character to be displayed according to the obtained character identifier of the character to be displayed in the current user interface and the font configuration file, and The font information of the character is rendered and displayed for the character to be displayed;
- the font configuration file is used to enable the client to obtain corresponding font information based on the character identifier.
- an apparatus for displaying characters in a user interface including:
- the character identification acquisition module is used to acquire the character identification of the character to be displayed in the current user interface
- the font information obtaining module is used to obtain the font information of the character to be displayed according to the character identifier of the character to be displayed and the font configuration file;
- the font configuration file is obtained by sending a font configuration file obtaining request to the server, and the font configuration file is used to obtain corresponding font information based on the character identifier;
- the display module is used to render and display the characters to be displayed according to the font information of the characters to be displayed.
- the character to be displayed is a designated character in the current user interface.
- the above device further includes a font configuration file acquisition module, which is used to:
- the receiving server obtains the font configuration file returned by the request based on the font configuration file.
- the font configuration file stores a first corresponding relationship between the character identifier and the font identifier, and a download path of the font file, and the font file stores a second corresponding relationship between the font identifier and the font information;
- the above device further includes:
- the font file acquisition module is used to acquire font files based on the download path
- the aforementioned font information acquisition module is used for:
- the font information corresponding to the determined font identifier is obtained.
- the above device before receiving the font configuration file returned by the server obtaining the request based on the font configuration file, if the font configuration file is stored locally, after receiving the font configuration file returned by the server obtaining the request based on the font configuration file, the above device further includes:
- the font file update module is used to update the stored font file based on the received font configuration file.
- another device for displaying characters in a user interface includes:
- the acquisition request receiving module is used to receive the font configuration file acquisition request sent by the client;
- the font configuration file return module is used to return the font configuration file to the client based on the font configuration file obtaining request, so that the client can obtain the character to be displayed according to the obtained character identifier of the character to be displayed in the current user interface and the font configuration file Font information, and render and display the characters to be displayed according to the font information of the characters to be displayed;
- the font configuration file is used to enable the client to obtain corresponding font information based on the character identifier.
- an electronic device including: a processor and a memory;
- Memory used to store operation instructions
- the processor is configured to execute the method shown in any embodiment of the first aspect or the method shown in any embodiment of the second aspect of the present disclosure by invoking an operation instruction.
- a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the implementation shown in any one of the embodiments of the first aspect of the present disclosure The method or the method shown in any embodiment of the second aspect.
- the solution provided by the present disclosure is to obtain the font information corresponding to the character identifier according to the font configuration file sent by the server.
- the character identifier of the character to be displayed on the current user interface is obtained, and according to the character of the character to be displayed Identify and font configuration files, obtain font information of characters to be displayed, and perform rendering and display according to the obtained font information of characters to be displayed.
- the solution of the present disclosure is to provide font information for the characters of the user interface through the font configuration file provided by the server.
- the font information is no longer packaged in the software installation package, the volume of the installation package is reduced, and the font can be updated by The configuration file is used to realize the font adjustment of the characters of the user interface, without the user to update the software operation, which can greatly facilitate the font adjustment of the client user interface and improve the user experience.
- FIG. 1 is a schematic flowchart of a method for displaying characters in a user interface according to an embodiment of the present disclosure
- Fig. 2 is a schematic diagram of a current user interface provided according to an embodiment of the present disclosure
- FIG. 3 is a schematic flowchart of another method for displaying characters in a user interface according to an embodiment of the present disclosure
- FIG. 4 is a schematic structural diagram of a display device for characters in a user interface according to an embodiment of the present disclosure
- Fig. 5 is a schematic structural diagram of another device for displaying characters in a user interface according to an embodiment of the present disclosure.
- Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
- FIG. 1 shows a schematic flowchart of a method for displaying characters in a user interface provided by an embodiment of the present disclosure. As shown in FIG. 1, the method may mainly include:
- Step S110 Obtain the character identifier of the character to be displayed in the current user interface
- Step S120 Obtain font information of the character to be displayed according to the character identifier of the character to be displayed and the font configuration file;
- the font configuration file is obtained by sending a font configuration file obtaining request to the server, and the font configuration file is used to obtain corresponding font information based on the character identifier;
- Step S130 Render and display the character to be displayed according to the font information of the character to be displayed.
- multiple user interfaces may be configured in the application, and the current user interface may be the user interface to be displayed by the current application.
- the characters to be displayed can be words, letters, numbers or symbols to be displayed in the current user interface.
- the character identifier is used to distinguish each character to be displayed. Specifically, according to the position of each character to be displayed in the current user interface, a different character identifier can be assigned to each character to be displayed.
- the character identifier can be a digital number. form.
- the font configuration file can provide the correspondence between the character identification of each user interface of the application and the font information, and the font information of the character to be displayed can be obtained based on the font information of the character to be displayed and the font configuration file.
- the font information may include the information needed to render characters in the user interface.
- the font information of the character to be displayed can be obtained based on the character identifier and the font configuration file of the character to be displayed, and the rendering and display of the character to be displayed can be realized according to the font information of the character to be displayed.
- Figure 2 shows a schematic diagram of the current user interface.
- A, B, C, D, E, and F are all characters to be displayed, and A, B, C, D, E, and F can correspond to There are different character identifiers.
- the font information corresponding to A, B, C, D, E, and F can be obtained.
- the font configuration file may be generated by the server, and the client may obtain the font configuration file by sending a font configuration file obtaining request to the server.
- the solution provided by the present disclosure is to obtain the font information corresponding to the character identifier according to the font configuration file sent by the server.
- the character identifier of the character to be displayed on the current user interface is obtained, and according to the character of the character to be displayed Identify and font configuration files, obtain font information of characters to be displayed, and perform rendering and display according to the obtained font information of characters to be displayed.
- the font configuration file provided by the server provides the configuration font information for the characters of the user interface. Since the font information is no longer packaged in the software installation package, the size of the installation package is reduced.
- the font is packaged in the software installation package.
- the adjusted font needs to be packaged in the new version of the software installation package, and the new version of the installation package is released ,
- the user realizes the font adjustment of the characters by downloading and installing the new version of the software installation package.
- the existing method of adjusting the font of the user interface needs to be implemented through the update of the software version, and requires the user to participate in the installation of the new version of the software, which is relatively inconvenient.
- the character to be displayed is a designated character in the current user interface.
- a part of the characters that require font configuration can be designated as the characters to be displayed, and the font information of the characters to be displayed is obtained through the font configuration file, and the rendering is performed to realize the characters to be displayed The font configuration and display.
- the above method further includes:
- the receiving server obtains the font configuration file returned by the request based on the font configuration file.
- the font configuration file can be configured by the server, and the client can obtain the font configuration file by sending a font configuration file obtaining request to the server.
- the font configuration file can be sent every time the client is started. File acquisition request, or send a font configuration file acquisition request at a preset time interval.
- the above method further includes: the font configuration file stores a first correspondence between the character identification and the font identification, and the download path of the font file, and the font file stores a second correspondence between the font identification and the font information ;
- the method After obtaining the font configuration file, the method also includes:
- the font information of the character to be displayed is obtained, including:
- the font information corresponding to the determined font identifier is obtained.
- the download path of the font file may be stored in the font configuration file.
- the client may download the font file based on the download path of the font file, and the downloaded font file may be cached in the local storage of the client .
- the font configuration file stores a first corresponding relationship between the character identifier and the font identifier, and based on the first corresponding relationship, the font identifier corresponding to the character identifier of the character to be displayed can be determined;
- the character identifiers of each user interface of the application stored in the font configuration file are: C0, C1, C2, C3, C4, C5, C6, C7, C8, C9; the font identifiers stored in the font configuration file are respectively Are: F0, F1, F2, F3, F4, F5, F6, F7, F8, F9; the first corresponding relationship is: C0 corresponds to F0, C1 corresponds to F1, C2 corresponds to F2, C3 corresponds to F3, C4 corresponds to F4 corresponds, C5 corresponds to F5, C6 corresponds to F6, C7 corresponds to F7, C8 corresponds to F8, and C9 corresponds to F9.
- the character identifiers of the characters to be displayed are: C1, C2, C3, and based on the first corresponding relationship, the font identifiers of the characters to be displayed: F1, F2, F3 can be obtained.
- the font information of the character to be displayed can be obtained based on the second correspondence stored in the font file.
- the receiving server before the receiving server obtains the font configuration file returned by the request based on the font configuration file, if the font configuration file is stored locally, after the receiving server obtains the font configuration file returned by the request based on the font configuration file, include:
- the stored font file is updated.
- the new font configuration file may be received based on the received new font configuration file.
- the font file is updated.
- the font identifier in the cached font file can be compared with the font identifier in the new font configuration file to determine the new The font identification of the font is increased, and the font file of the newly added font is obtained according to the download path of the font file corresponding to the font identification of the newly added font and added to the font file in the local cache.
- FIG. 3 shows a schematic flowchart of another method for displaying characters in a user interface provided by an embodiment of the present disclosure. As shown in FIG. 3, the method may mainly include:
- Step S210 receiving a font configuration file acquisition request sent by the client
- Step S220 Return the font configuration file to the client based on the font configuration file obtaining request, so that the client can obtain the font information of the character to be displayed according to the obtained character identifier of the character to be displayed in the current user interface and the font configuration file, and Render and display the characters to be displayed according to the font information of the characters to be displayed;
- the font configuration file is used to enable the client to obtain corresponding font information based on the character identifier.
- the font configuration file may be configured by the server, and the client may obtain the font configuration file by sending a font configuration file obtaining request to the server.
- the server After the server receives the font configuration file acquisition request sent by the client, it can return the font configuration file.
- the server can return the font configuration file to the client when it detects that the font configuration file has been updated to avoid unnecessary Data transfer.
- the font configuration file acquisition request can be sent every time the client is started, or the font configuration file acquisition request can be sent at a preset time interval.
- multiple user interfaces may be configured in the application of the client, and the current user interface may be the user interface to be displayed by the current application.
- the characters to be displayed can be words, letters, numbers or symbols to be displayed in the current user interface.
- the character identifier is used to distinguish each character to be displayed. Specifically, according to the position of each character to be displayed in the current user interface, a different character identifier can be assigned to each character to be displayed.
- the character identifier can be a digital number. form.
- the font configuration file can provide the correspondence between the character identification of each user interface of the application and the font information, and the font information of the character to be displayed can be obtained based on the font information of the character to be displayed and the font configuration file.
- the font information includes the information needed to render characters in the user interface.
- the font information of the character to be displayed can be obtained based on the character identifier and the font configuration file of the character to be displayed, and the rendering and display of the character to be displayed can be realized according to the font information of the character to be displayed.
- the solution provided by the present disclosure is to obtain the font information corresponding to the character identifier according to the font configuration file sent by the server.
- the character identifier of the character to be displayed on the current user interface is obtained, and according to the character of the character to be displayed Identify and font configuration files, obtain font information of characters to be displayed, and perform rendering and display according to the obtained font information of characters to be displayed.
- the font configuration file provided by the server provides the configuration font information for the characters of the user interface. Since the font information is no longer packaged in the software installation package, the size of the installation package is reduced.
- the font is packaged in the software installation package.
- the adjusted font needs to be packaged in the new version of the software installation package, and the new version of the installation package is released ,
- the user realizes the font adjustment of the characters by downloading and installing the new version of the software installation package.
- the existing method of adjusting the font of the user interface needs to be implemented through the update of the software version, and requires the user to participate in the installation of the new version of the software, which is relatively inconvenient.
- FIG. 4 shows a schematic structural diagram of a display device for characters in a user interface provided by an embodiment of the present disclosure.
- the display of characters in the user interface is The device 30 may include:
- the character identifier obtaining module 310 is used to obtain the character identifier of the character to be displayed in the current user interface
- the font information obtaining module 320 is configured to obtain the font information of the character to be displayed according to the character identifier of the character to be displayed and the font configuration file;
- the font configuration file is obtained by sending a font configuration file obtaining request to the server, and the font configuration file is used to obtain corresponding font information based on the character identifier;
- the display module 330 is configured to render and display the characters to be displayed according to the font information of the characters to be displayed.
- the device provided by the present disclosure obtains the font information corresponding to the character identifier according to the font configuration file sent by the server.
- the character identifier of the character to be displayed on the current user interface is obtained, and according to the character of the character to be displayed Identify and font configuration files, obtain font information of characters to be displayed, and perform rendering and display according to the obtained font information of characters to be displayed.
- the solution of the present disclosure is to provide font information for the characters of the user interface through the font configuration file provided by the server.
- the font information is no longer packaged in the software installation package, the volume of the installation package is reduced, and the font can be updated by The configuration file is used to realize the font adjustment of the characters of the user interface, without the user to update the software operation, which can greatly facilitate the font adjustment of the client user interface and improve the user experience.
- the characters to be displayed are designated characters in the current user interface.
- the above-mentioned apparatus further includes a font configuration file acquisition module, which is used to:
- the receiving server obtains the font configuration file returned by the request based on the font configuration file.
- the font configuration file stores a first correspondence between a character identifier and a font identifier, and a download path of the font file, and the font file stores a second correspondence between the font identifier and font information;
- the above device further includes:
- Font file acquisition module which is used to acquire font files based on the download path
- the aforementioned font information acquisition module is used for:
- the font information corresponding to the determined font identifier is obtained.
- the above device before receiving the font configuration file returned by the server obtaining the request based on the font configuration file, if the font configuration file is stored locally, after receiving the font configuration file returned by the server obtaining the request based on the font configuration file, the above device further includes :
- the font file update module is used to update the stored font file based on the received font configuration file.
- the device for displaying characters in the user interface of this embodiment can execute the method for displaying characters in the user interface shown in FIG. 1 of the present disclosure, and its implementation principles are similar, and will not be repeated here.
- FIG. 5 shows a schematic structural diagram of another device for displaying characters in a user interface provided by an embodiment of the present disclosure.
- the characters in the user interface may include:
- An acquisition request receiving module 410 configured to receive a font configuration file acquisition request sent by the client;
- the font configuration file return module 420 is used to return the font configuration file to the client based on the font configuration file acquisition request, so that the client can obtain the font configuration file according to the acquired character identifier of the character to be displayed in the current user interface and the font configuration file. Display the font information of the characters, and render and display the characters to be displayed according to the font information of the characters to be displayed;
- the font configuration file is used to enable the client to obtain corresponding font information based on the character identifier.
- the device provided by the present disclosure obtains the font information corresponding to the character identifier according to the font configuration file sent by the server.
- the character identifier of the character to be displayed on the current user interface is obtained, and according to the character of the character to be displayed Identify and font configuration files, obtain font information of characters to be displayed, and perform rendering and display according to the obtained font information of characters to be displayed.
- the solution of the present disclosure is to provide font information for the characters of the user interface through the font configuration file provided by the server.
- the font information is no longer packaged in the software installation package, the volume of the installation package is reduced, and the font can be updated by The configuration file is used to realize the font adjustment of the characters of the user interface, without the user to update the software operation, which can greatly facilitate the font adjustment of the client user interface and improve the user experience.
- the device for displaying characters in the user interface of this embodiment can execute the method for displaying characters in the user interface shown in FIG. 3 of the present disclosure, and the implementation principles are similar, and will not be repeated here.
- the embodiment of the present disclosure also provides an electronic device, which includes a processor and a memory;
- Memory which is used to store operation instructions
- the processor is used to execute the above-mentioned method for displaying characters in the user interface by calling operation instructions.
- the embodiment of the present disclosure also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the above-mentioned method for displaying characters in a user interface is realized.
- FIG. 6 shows a schematic structural diagram of an electronic device 800 suitable for implementing embodiments of the present disclosure (for example, a terminal device for executing the method for displaying characters in a user interface shown in FIG. 1 or FIG. 3).
- the terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (e.g. Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc.
- the electronic device shown in FIG. 6 is only an example, and should not bring any limitation to the function and scope of use of the embodiments of the present disclosure.
- the electronic device 800 may include a processing device (such as a central processing unit, a graphics processor, etc.) 801, which may be loaded into a random access device according to a program stored in a read-only memory (ROM) 802 or from a storage device 808
- the program in the memory (RAM) 803 executes various appropriate actions and processing.
- various programs and data required for the operation of the electronic device 800 are also stored.
- the processing device 801, the ROM 802, and the RAM 803 are connected to each other through a bus 804.
- An input/output (I/O) interface 805 is also connected to the bus 804.
- the following devices can be connected to the I/O interface 805: including input devices 806 such as touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, liquid crystal display (LCD), speakers, vibration An output device 807 such as a device; a storage device 808 such as a magnetic tape and a hard disk; and a communication device 809.
- the communication device 809 may allow the electronic device 800 to perform wireless or wired communication with other devices to exchange data.
- FIG. 6 shows an electronic device 800 having various devices, it should be understood that it is not required to implement or have all the illustrated devices. It may alternatively be implemented or provided with more or fewer devices.
- the process described above with reference to the flowchart can be implemented as a computer software program.
- the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart.
- the computer program may be downloaded and installed from the network through the communication device 809, or installed from the storage device 808, or installed from the ROM 802.
- the processing device 801 the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
- the aforementioned computer-readable medium in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two.
- the computer-readable storage medium may be, for example, but not limited to, an electric, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- a computer-readable storage medium may be any tangible medium that contains or stores a program, and the program may be used by or in combination with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in a baseband or as a part of a carrier wave, and a computer-readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- the computer-readable signal medium may also be any computer-readable medium other than the computer-readable storage medium.
- the computer-readable signal medium may send, propagate, or transmit the program for use by or in combination with the instruction execution system, apparatus, or device .
- the program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wire, optical cable, RF (Radio Frequency), etc., or any suitable combination of the above.
- the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or it may exist alone without being assembled into the electronic device.
- the above-mentioned computer-readable medium carries one or more programs.
- the electronic device obtains at least two Internet protocol addresses; sends to the node evaluation device including at least two Internet protocols; The node evaluation request of the protocol address, wherein the node evaluation device selects an Internet Protocol address from at least two Internet Protocol addresses and returns it; receives the Internet Protocol address returned by the node evaluation device; wherein the obtained Internet Protocol address indicates the content distribution network Edge node in the.
- the aforementioned computer-readable medium carries one or more programs, and when the aforementioned one or more programs are executed by the electronic device, the electronic device: receives a node evaluation request including at least two Internet protocol addresses; Among the two Internet Protocol addresses, the Internet Protocol address is selected; the selected Internet Protocol address is returned; where the received Internet Protocol address indicates the edge node in the content distribution network.
- the computer program code used to perform the operations of the present disclosure may be written in one or more programming languages or a combination thereof.
- the above-mentioned programming languages include object-oriented programming languages—such as Java, Smalltalk, C++, and also conventional Procedural programming language-such as "C" language or similar programming language.
- the program code can be executed entirely on the user's computer, partly on the user's computer, executed as an independent software package, partly on the user's computer and partly executed on a remote computer, or entirely executed on the remote computer or server.
- the remote computer can be connected to the user’s computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to pass Internet connection).
- LAN local area network
- WAN wide area network
- each block in the flowchart or block diagram can represent a module, program segment, or part of code, and the module, program segment, or part of code contains one or more for realizing the specified logical function Executable instructions.
- the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two blocks shown in succession can actually be executed substantially in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved.
- each block in the block diagram and/or flowchart, and the combination of the blocks in the block diagram and/or flowchart can be implemented by a dedicated hardware-based system that performs the specified functions or operations Or it can be realized by a combination of dedicated hardware and computer instructions.
- the units involved in the embodiments described in the present disclosure may be implemented in a software manner, or may be implemented in a hardware manner.
- the name of the unit does not constitute a limitation on the unit itself under certain circumstances.
- the first obtaining unit can also be described as "a unit for obtaining at least two Internet Protocol addresses.”
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Controls And Circuits For Display Device (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
Claims (10)
- 一种用户界面中字符的显示方法,包括:获取当前用户界面中待显示字符的字符标识;根据所述待显示字符的字符标识以及字体配置文件,获取所述待显示字符的字体信息;以及根据所述待显示字符的字体信息对所述待显示字符进行渲染并显示,其中,所述字体配置文件是通过向服务器发送字体配置文件获取请求获取到的,所述字体配置文件用于基于字符标识获取到对应的字体信息。
- 根据权利要求1所述的方法,所述待显示字符为所述当前用户界面中的指定字符。
- 根据权利要求1所述的方法,还包括:在客户端启动时和/或按照预设时间间隔,向所述服务器发送所述字体配置文件获取请求;接收所述服务器基于所述字体配置文件获取请求返回的字体配置文件。
- 根据权利要求1至3中任一项所述的方法,所述字体配置文件存储有字符标识与字体标识的第一对应关系,以及字体文件的下载路径,所述字体文件存储有字体标识与字体信息的第二对应关系;所述方法还包括:基于所述下载路径,获取所述字体文件;所述根据所述待显示字符的字符标识以及字体配置文件,获取所述待显示字符的字体信息,包括:根据所述第一对应关系,确定所述待显示字符的字符标识所对应的字体标识;根据所述第二对应关系,得到确定出的字体标识所对应的字体信息。
- 根据权利要求2所述的方法,若本地已存储有字体配置文件,所述方法还包括:基于接收到的字体配置文件,对已存储的字体文件进行更新。
- 一种用户界面中字符的显示方法,包括:接收客户端发送的字体配置文件获取请求;基于所述字体配置文件获取请求向所述客户端返回字体配置文件,以使所述客户端能够根据获取到的当前用户界面中待显示字符的字符标识以及所述字体配置文件,获取所述待显示字符的字体信息,并根据所述待显示字符的字体信息对所述待显示字符进行渲染并显示;其中,所述字体配置文件用于使所述客户端基于字符标识获取到对应的字体信息。
- 一种用户界面中字符的显示装置,包括:字符标识获取模块,被配置为获取当前用户界面中待显示字符的字符标识;字体信息获取模块,被配置为根据所述待显示字符的字符标识以及字体配置文件,获取所述待显示字符的字体信息;以及显示模块,被配置为根据所述待显示字符的字体信息对所述待显示字符进行渲染并显示,其中,所述字体配置文件是通过向服务器发送字体配置文件获取请求获取到的,所述字体配置文件用于基于字符标识获取到对应的字体信息。
- 一种用户界面中字符的显示装置,包括:获取请求接收模块,被配置为接收客户端发送的字体配置文件获取请求;字体配置文件返回模块,被配置为基于所述字体配置文件获取请求向所述客户端返回字体配置文件,以使所述客户端能够根据获取到的当前用户界面中待显示字符的字符标识以及所述字体配置文件,获取所述待显示字符的字体信息,并根据所述待显示字符的字体信息对所述待显示字符进行渲染并显示;其中,所述字体配置文件用于使所述客户端基于字符标识获取到对应 的字体信息。
- 一种电子设备,包括处理器和存储器;所述存储器,被配置为存储操作指令;所述处理器,被配置为通过调用所述操作指令,执行权利要求1-6中任一项所述的方法。
- 一种计算机可读存储介质,所述存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-6中任一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910502361.9A CN110209315B (zh) | 2019-06-11 | 2019-06-11 | 用户界面中字符的显示方法、装置、电子设备及存储介质 |
CN201910502361.9 | 2019-06-11 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020248745A1 true WO2020248745A1 (zh) | 2020-12-17 |
Family
ID=67791952
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/088984 WO2020248745A1 (zh) | 2019-06-11 | 2020-05-07 | 用户界面中字符的显示方法、装置、电子设备及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110209315B (zh) |
WO (1) | WO2020248745A1 (zh) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110209315B (zh) * | 2019-06-11 | 2021-11-02 | 北京字节跳动网络技术有限公司 | 用户界面中字符的显示方法、装置、电子设备及存储介质 |
CN111147354B (zh) * | 2019-12-25 | 2022-04-26 | 广州方硅信息技术有限公司 | 消息处理方法、装置、设备及存储介质 |
CN111273982A (zh) * | 2020-01-17 | 2020-06-12 | 北京字节跳动网络技术有限公司 | 操作系统的默认字体确认方法、装置、电子设备和介质 |
CN111507063A (zh) * | 2020-02-27 | 2020-08-07 | 平安科技(深圳)有限公司 | 文本处理方法、装置、设备及计算机可读存储介质 |
CN112688831B (zh) * | 2020-12-23 | 2022-03-25 | 北京字节跳动网络技术有限公司 | 联调测试方法、装置、电子设备及计算机可读存储介质 |
CN112860958B (zh) * | 2021-01-15 | 2024-01-26 | 北京百家科技集团有限公司 | 一种信息显示方法及装置 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120079374A1 (en) * | 2010-09-29 | 2012-03-29 | Apple Inc. | Rendering web page text in a non-native font |
CN103902513A (zh) * | 2014-03-21 | 2014-07-02 | 北京百度网讯科技有限公司 | 在终端设备中显示字体的方法及装置 |
CN104965834A (zh) * | 2014-06-25 | 2015-10-07 | 腾讯科技(深圳)有限公司 | 字体显示方法和装置 |
CN106951421A (zh) * | 2016-01-07 | 2017-07-14 | 方正璞华软件(武汉)股份有限公司 | 一种网络字体显示系统及方法 |
CN109241497A (zh) * | 2018-09-27 | 2019-01-18 | 腾讯音乐娱乐科技(深圳)有限公司 | 文本处理方法及装置 |
CN110209315A (zh) * | 2019-06-11 | 2019-09-06 | 北京字节跳动网络技术有限公司 | 用户界面中字符的显示方法、装置、电子设备及存储介质 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030226118A1 (en) * | 2002-05-28 | 2003-12-04 | E C D Interactive Corp. | Method of uploading and editing words at a network station |
CN103281433A (zh) * | 2013-04-16 | 2013-09-04 | 广东欧珀移动通信有限公司 | 一种显示文字内容的方法及装置 |
CN104461483A (zh) * | 2013-09-16 | 2015-03-25 | 北大方正集团有限公司 | 一种字体渲染的方法、装置、渲染平台客户端和服务器 |
CN105487889A (zh) * | 2015-11-26 | 2016-04-13 | 小米科技有限责任公司 | 应用界面更新方法及装置 |
-
2019
- 2019-06-11 CN CN201910502361.9A patent/CN110209315B/zh active Active
-
2020
- 2020-05-07 WO PCT/CN2020/088984 patent/WO2020248745A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120079374A1 (en) * | 2010-09-29 | 2012-03-29 | Apple Inc. | Rendering web page text in a non-native font |
CN103902513A (zh) * | 2014-03-21 | 2014-07-02 | 北京百度网讯科技有限公司 | 在终端设备中显示字体的方法及装置 |
CN104965834A (zh) * | 2014-06-25 | 2015-10-07 | 腾讯科技(深圳)有限公司 | 字体显示方法和装置 |
CN106951421A (zh) * | 2016-01-07 | 2017-07-14 | 方正璞华软件(武汉)股份有限公司 | 一种网络字体显示系统及方法 |
CN109241497A (zh) * | 2018-09-27 | 2019-01-18 | 腾讯音乐娱乐科技(深圳)有限公司 | 文本处理方法及装置 |
CN110209315A (zh) * | 2019-06-11 | 2019-09-06 | 北京字节跳动网络技术有限公司 | 用户界面中字符的显示方法、装置、电子设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN110209315A (zh) | 2019-09-06 |
CN110209315B (zh) | 2021-11-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020248745A1 (zh) | 用户界面中字符的显示方法、装置、电子设备及存储介质 | |
US20220261127A1 (en) | Information display method and apparatus, electronic device, and computer readable medium | |
WO2020207085A1 (zh) | 信息分享方法、装置、电子设备及存储介质 | |
CN109582310B (zh) | 数据处理方法、装置、电子设备及计算机可读存储介质 | |
WO2020151599A1 (zh) | 视频同步发布方法、装置、电子设备及可读存储介质 | |
WO2021135626A1 (zh) | 菜单项选择方法、装置、可读介质及电子设备 | |
US20230015800A1 (en) | A method, apparatus, medium and electronic device for configuring a gift list in a live broadcast room | |
CN109753332B (zh) | 用于展现信息的方法和装置 | |
US11861381B2 (en) | Icon updating method and apparatus, and electronic device | |
WO2020156055A1 (zh) | 显示界面切换方法、电子设备及计算机可读存储介质 | |
WO2023000888A1 (zh) | 云应用的实现方法、装置、电子设备和存储介质 | |
WO2015176352A1 (zh) | 一种基于安卓系统的应用间信息交互方法及装置 | |
WO2023231750A1 (zh) | 车辆的窗口显示控制方法、装置、车辆和存储介质 | |
CN114035879A (zh) | 页面主题色更换方法、装置、电子设备和计算机可读介质 | |
WO2020186927A1 (zh) | 数据分享方法、装置、设备及介质 | |
WO2020207083A1 (zh) | 信息分享的方法、装置、电子设备及计算机可读存储介质 | |
CN112968871A (zh) | 应用程序的登录方法、装置、可读介质和电子设备 | |
CN110147283B (zh) | 一种显示内容切换显示方法、装置、设备及介质 | |
CN110619101B (zh) | 用于处理信息的方法和装置 | |
CN111767062A (zh) | 应用配置数据的更新方法、装置、设备及存储介质 | |
CN111274104B (zh) | 数据处理方法、装置、电子设备及计算机可读存储介质 | |
WO2023083367A1 (zh) | 文件后台续传方法、装置、存储介质及电子设备 | |
CN113391860A (zh) | 服务请求处理方法、装置、电子设备及计算机存储介质 | |
CN111382039A (zh) | 上报用户行为事件的方法、装置、电子设备及存储介质 | |
WO2021088772A1 (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: 20822130 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: 20822130 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 24/03/2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20822130 Country of ref document: EP Kind code of ref document: A1 |