CN107153551B - Font switching method, mobile terminal and computer readable storage medium - Google Patents

Font switching method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN107153551B
CN107153551B CN201710374524.0A CN201710374524A CN107153551B CN 107153551 B CN107153551 B CN 107153551B CN 201710374524 A CN201710374524 A CN 201710374524A CN 107153551 B CN107153551 B CN 107153551B
Authority
CN
China
Prior art keywords
font
file
switching
mobile terminal
target
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201710374524.0A
Other languages
Chinese (zh)
Other versions
CN107153551A (en
Inventor
许启恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pizhou Runhong Industry Co.,Ltd.
Original Assignee
Pizhou Runhong Industry Co ltd
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 Pizhou Runhong Industry Co ltd filed Critical Pizhou Runhong Industry Co ltd
Priority to CN201710374524.0A priority Critical patent/CN107153551B/en
Publication of CN107153551A publication Critical patent/CN107153551A/en
Application granted granted Critical
Publication of CN107153551B publication Critical patent/CN107153551B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a font switching method, which receives a switching instruction for changing fonts through an operation inlet preset by a system, wherein the operation inlet is positioned in a data partition, and the switching instruction comprises an identifier of a target font; and switching the fonts of the system according to the switching instruction. The invention also discloses a mobile terminal and a computer readable storage medium, which solve the problem of great potential safety hazard in the prior art that the font switching is carried out by forcibly acquiring the root authority through a third-party tool, and the font can be switched without forcibly acquiring the root authority by switching the font through the operation entrance which is preset in the data partition, so that the safety level of font switching is improved, and the user experience is improved.

Description

Font switching method, mobile terminal and computer readable storage medium
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a font switching method, a mobile terminal, and a computer-readable storage medium.
Background
Along with the development of the internet and the popularization of the terminal, the user group of the terminal is larger and larger, and meanwhile, more intelligent and humanized requirements are provided for software.
In the prior art, a real terminal is used as a game machine or a television by a user, possibly a learning machine, possibly a playground of a baby and the like, so that more fun is brought to the life of people. With the upgrading of communication products, mobile terminals (such as mobile phones, Personal Digital Assistants (PDAs), etc.) have become a necessary communication tool for people. Various functions which are convenient for people to live can be realized on the mobile terminal, such as mobile phone television, GPS, mobile payment and the like, and the functions can be realized only by accessing the mobile terminal to the Internet.
Along with the rapid development of the electronic industry, the intelligent degree of the mobile terminal is higher and higher. Research and development companies of mobile terminals also pay more and more attention to intellectualization and humanized design. Under the background of rapid development of the mobile terminal, the convenient operation and humanized design of the terminal become a part of the mobile terminal which is not ignored.
A great deal of demands exist in Android mobile phone user groups, and many users hope to integrally switch fonts of a mobile phone system to obtain richer visual experience.
In the related art, the fonts of characters displayed by the mobile terminal are generally switched as follows: and the user downloads a third-party application program comprising the custom font library, installs the third-party application program in the mobile terminal, and covers the custom font library with the original system font library in the mobile terminal, so that the mobile terminal can display characters in the mobile terminal by adopting fonts in the custom font library. In the above process, since the third-party application program needs to change the system font library of the mobile terminal, and the third-party application program does not have the permission to change the system font library of the mobile terminal, the third-party application program needs to forcibly acquire the root permission of the mobile terminal in the process of installing the third-party application program.
The basic idea of the existing font switching method is realized by directly replacing font. Android system font files all exist in system partitions, and directly replacing font. However, system partition data is of great importance, protective measures are set before the mobile phone leaves a factory, general programs and users have no authority to modify, and unless root authorities are obtained forcibly through a third-party tool, fonts are modified directly, so that great potential safety hazards are brought, and serious problems such as system breakdown, user information writing leakage and the like are caused.
Aiming at the problem that a great potential safety hazard exists in the prior art that the font switching is carried out by forcibly acquiring the root authority through a third-party tool, a solution is not provided at present.
Disclosure of Invention
The invention mainly aims to provide a font switching method, a mobile terminal and a computer readable storage medium, and aims to solve the problem of great potential safety hazard in the prior art that the font switching is carried out by forcibly acquiring root authority through a third-party tool.
To achieve the above object, an embodiment of the present invention provides a font switching method, including:
receiving a switching instruction for changing fonts through an operation inlet preset by a system, wherein the operation inlet is positioned in a data partition, and the switching instruction comprises an identifier of a target font;
and switching the fonts of the system according to the switching instruction.
Preferably, before receiving a switching instruction for changing a font through an operation entry preset by the system, the method further includes:
and setting the operation entry, wherein the operation entry is an interface of a special app or a setting program, the interface is used for modifying a file, and the file is a font file or a link file and points to other effective font files.
Preferably, before the operation inlet is provided, the method further comprises:
modifying information of a system font configuration file in the source code;
modifying the font file name which is allowed to be modified by the user into a custom name;
and adding a primary link in a system font storage directory in a script or copying mode, wherein the name is consistent with the self-defined name, and the file actually pointed by the link is the file in the special working directory in the user data partition.
Preferably, before the font switching operation is performed or after the font switching is cancelled, the file points to the default font in the original font storage directory by default.
Preferably, the switching the fonts of the system according to the switching instruction includes:
acquiring a target font file corresponding to the identifier of the target font according to the switching instruction;
converting the format of the target font file into a system font file format to obtain a converted target font file, wherein the system font file format is the format of a font file which can be recognized by the mobile terminal;
and displaying characters according to the converted target font file.
Preferably, according to the converted target font file, displaying text includes:
clearing the cached current drawing information, wherein the current drawing information is used for displaying characters in a current font;
according to the converted target font file, drawing characters to obtain target drawing information corresponding to the target font;
and displaying characters according to the target drawing information.
According to another aspect of the embodiments of the present invention, there is also provided a mobile terminal, including a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute a font switching program stored in the memory to implement the steps of:
receiving a switching instruction for changing fonts through an operation inlet preset by a system, wherein the operation inlet is positioned in a data partition, and the switching instruction comprises an identifier of a target font;
and switching the fonts of the system according to the switching instruction.
Preferably, the processor is further configured to execute a font switching program to implement the steps of:
before receiving a switching instruction for changing fonts through an operation inlet preset by a system, setting the operation inlet, wherein the operation inlet is an interface of a special application or a setting program, the interface is used for modifying a file, and the file is a font file or a link file and points to other effective font files.
Preferably, the processor is further configured to execute a font switching program to implement the steps of:
modifying information of a system font configuration file in the source code;
modifying the font file name which is allowed to be modified by the user into a custom name;
and adding a link in a new level in a system font storage directory in a script or copying mode, wherein the name is consistent with the self-defined name, and the file actually pointed by the link is the file in the special working directory in the user data partition.
Preferably, before the font switching operation is performed or after the font switching is cancelled, the file points to the default font in the original font storage directory by default.
Preferably, the processor is further configured to execute a font switching program to implement the steps of:
acquiring a target font file corresponding to the identifier of the target font according to the switching instruction;
converting the format of the target font file into a system font file format to obtain a converted target font file, wherein the system font file format is the format of a font file which can be recognized by the mobile terminal;
and displaying characters according to the converted target font file.
Preferably, the processor is further configured to execute a font switching program to implement the steps of:
clearing the cached current drawing information, wherein the current drawing information is used for displaying characters in a current font;
according to the converted target font file, drawing characters to obtain target drawing information corresponding to the target font;
and displaying characters according to the target drawing information.
According to another aspect of embodiments of the present invention, there is also provided a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the font switching method described above.
According to the method and the device, the switching instruction for changing the font is received through the operation entrance preset by the system, wherein the operation entrance is positioned in the data partition, and the switching instruction comprises the identification of the target font; the font switching processing method and the font switching processing device have the advantages that the font switching processing device can switch fonts of a system according to the switching instruction, the problem that great potential safety hazards exist in the prior art that font switching is carried out by forcibly acquiring the root authority through a third-party tool is solved, the fonts can be switched without forcibly acquiring the root authority through the preset font switching operation entrance of the data partition, the font switching safety level is improved, and user experience is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
FIG. 3 is a flow chart of a font switching method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of system level font switching according to the related art;
FIG. 5 is a schematic diagram of system level font switching implemented based on Linux link technology in accordance with an embodiment of the present invention;
FIG. 6 is a first schematic diagram of a mobile terminal interface for font switching according to an embodiment of the present invention;
FIG. 7 is a second schematic diagram of a mobile terminal interface for font switching according to an embodiment of the present invention;
FIG. 8 is a third schematic diagram of a mobile terminal interface for font switching according to an embodiment of the present invention;
fig. 9 is a block diagram of a mobile terminal implementing system level font switching according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Example 1
Based on the foregoing mobile terminal, an embodiment of the present invention provides a font switching method, and fig. 3 is a first flowchart of the font switching method according to the embodiment of the present invention, as shown in fig. 3, the method includes the following steps:
step S301, receiving a switching instruction for changing fonts through an operation entry preset by a system, wherein the operation entry is located in a data partition, and the switching instruction comprises an identifier of a target font;
and step S302, switching the fonts of the system according to the switching instruction.
Through the steps, receiving a switching instruction for changing the font through an operation inlet preset by a system, wherein the operation inlet is positioned in a data partition, and the switching instruction comprises an identifier of a target font; the font switching processing method and the font switching processing device have the advantages that the font switching processing device can switch fonts of a system according to the switching instruction, the problem that great potential safety hazards exist in the prior art that font switching is carried out by forcibly acquiring the root authority through a third-party tool is solved, the fonts can be switched without forcibly acquiring the root authority through the preset font switching operation entrance of the data partition, the font switching safety level is improved, and user experience is improved.
Preferably, before receiving a switching instruction for changing a font through an operation entry preset by the system, the method further includes: and setting the operation entry, wherein the operation entry is an interface of a special application app or a setting program, the interface is used for modifying a file, and the file is a font file or a link file and points to other effective font files.
Preferably, before the operation inlet is provided, the method further comprises: modifying the information of the system font configuration file in the rom source code; modifying the font file name which is allowed to be modified by the user into a custom name; and adding a link in a new level in a system font storage directory in a script or copying mode, wherein the name is consistent with the self-defined name, and the file actually pointed by the link is the file in the special working directory in the user data partition.
Preferably, before the font switching operation is performed or after the font switching is cancelled, the file points to the default font in the original font storage directory by default.
Fig. 4 is a schematic diagram of system level font switching in the related art, and as shown in fig. 4, the basic idea of the font switching method in the related art is to directly replace the font/system/fonts/file in the system. Android system font files all exist in system partitions, and directly replacing font. However, system partition data is of great importance, protective measures are set before the mobile phone leaves a factory, and general programs and users have no permission to modify the data unless the root permission is obtained by a third-party tool in a forced mode to modify the data directly, so that great potential safety hazards are brought.
Based on the above problems, the following describes an embodiment of the present invention in detail by taking a mobile phone as an example, and an embodiment of the present invention provides a system level font switching function implemented based on a Linux link technology. The user does not need to acquire any file in the advanced permission modification system partition in the process of switching the fonts, and the integrity and the safety of the system partition when the mobile phone leaves a factory are not influenced by font switching. Fig. 5 is a schematic diagram of system level font switching realized based on the Linux link technology according to an embodiment of the present invention, and as shown in fig. 5, the system level font switching mainly includes two stages: before and after the delivery of the mobile phone.
Before the delivery of the mobile phone:
xml, modifying the system font configuration file/system/etc/fons in rom source code, and modifying the font file name modified by the user to be a custom name, such as the default font of the system
<font weight="400"style="normal">Roboto-Regular.ttf</font>
Is modified into
<font weight="400"style="normal">CustomFont.lnk</font>
Secondly, a primary link is newly added in a system font storage directory/system/fonts/through a script, copying and other modes, the naming is consistent with the self-defined name in the step I, such as CustomFont. lnk, the file actually pointed by the link is a file B under a special work directory in a user data/data partition, such as/data/fontDir/B, the file B can be a specific font file (in a format of ttf/ttc/otf and the like) or a link file, and finally other effective font files can be pointed.
Note that before the font switching operation is not performed by the user or after the font switching is cancelled, in order to ensure that the font display is normal, the B file points to the default font in the Android original font storage directory by default, such as/system/fonts/Roboto-regular.
And presetting a user operation entrance, such as a special app or other related setting interfaces. This interface is responsible for modifying the/data/fontDir/B file, modifying the font file it actually points to.
After the mobile phone leaves the factory: after purchasing a mobile phone, if the system font needs to be switched, the user selects the required custom font through the operation entry preset by the system, and the system completes the font switching work.
Preferably, the switching the fonts of the system according to the switching instruction includes: acquiring a target font file corresponding to the identifier of the target font according to the switching instruction; converting the format of the target font file into a system font file format to obtain a converted target font file, wherein the system font file format is the format of a font file which can be recognized by the mobile terminal; and displaying characters according to the converted target font file. Specifically, according to the converted target font file, displaying text may include: clearing the cached current drawing information, wherein the current drawing information is used for displaying characters in a current font; according to the converted target font file, drawing characters to obtain target drawing information corresponding to the target font; and displaying characters according to the target drawing information.
In the embodiment of the invention, the font can be a standard regular script, a song script and the like, and can also be a self-defined font, such as a sprout, a blackbody and the like; when the mobile terminal leaves a factory, the mobile terminal comprises at least one font file (hereinafter referred to as a font file for short) stored in a system font file format, each font file corresponds to one font, and the mobile terminal can display characters in the mobile terminal by adopting the fonts corresponding to the font file by compiling different font files.
In the using process of the mobile terminal, a user can import a plurality of custom font files into the mobile terminal, each custom font file corresponds to one custom font, however, the format of the custom font file imported by the user is usually different from that of the system font file, when the format of the custom font file is different from that of the system font file, the mobile terminal cannot identify the custom font file, the mobile terminal can convert the format of the custom font file into the format of the system font file, and the custom font file after format conversion is compiled, so that characters in the mobile terminal can be displayed by using the font corresponding to the custom font file.
In the actual application process, the types of fonts included by the mobile terminal when the mobile terminal leaves the factory are usually few and the fonts are more traditional, and the font to be switched (the target font) related in the embodiment of the invention is a user-defined font introduced into the mobile terminal by a user.
When a user needs to switch fonts of characters in a mobile terminal, the user inputs a font switching request comprising an identifier of a target font through the mobile terminal, after the mobile terminal receives the font switching request, the identifier of the target font is obtained in the font switching request, a target font file corresponding to the identifier of the target font is obtained according to the corresponding relation between the identifier of the target font and the target font file, the format of the target font file is converted into the format of a system font file, and the converted target font file is obtained, optionally, the format of the target font file can be converted into the format of the system font file through the following feasible implementation modes: extracting key information in the target font file, acquiring a template of the system font file format, and recombining the key information according to the template of the system font file format to obtain the converted target font file.
After the mobile terminal obtains the converted target font file, the mobile terminal can display the characters corresponding to the target font in the mobile terminal according to the converted target font file.
The following is a detailed description by specific examples.
For example, suppose that a mobile terminal currently displays characters in the mobile terminal by using a font 1, and in a process that a user uses the mobile terminal, the user introduces 3 types of custom font files into the mobile terminal, which are respectively recorded as: font file 2, font file 3, font file 4, the identification of the font that this 3 kinds of self-defined font files correspond is as table 1 said:
TABLE 1
Font file Identification of fonts
Font file
1 Font 1
Font file 2 Font 2
Font file 3 Font 3
When a user needs to switch the font 1 currently adopted by the mobile terminal to the font 3, the user inputs a font switching request including the font 3 through the mobile terminal.
When the mobile terminal receives a font switching request comprising a font 3, the mobile terminal acquires the font file 3 corresponding to the font 3 according to the corresponding relation between the font file and the font identifier, extracts the key information in the font file 3, acquires a template of a system font file format recognizable by the mobile terminal, recombines the extracted key information according to the template of the system font file format to obtain a converted target font file, and records the converted target font file as a font file 3a, and the mobile terminal can obtain characters corresponding to the font 3 according to the font file 3a and display the characters corresponding to the font 3 in the mobile terminal to complete font switching.
According to the font switching method provided by the embodiment of the invention, after the mobile terminal receives the font switching request comprising the identifier of the target font, the target font file corresponding to the identifier of the target font is obtained according to the font switching request, the format of the target font file is converted into the format of the system font file, and the format of the converted target font file is the format of the system font file, so that the mobile terminal can identify the format-converted target font file as the system font file, and display the characters in the mobile terminal according to the converted target font file to complete font switching.
The embodiment of the present invention further needs to import at least one custom font file including the target font file into the mobile terminal, and optionally, the custom font file may be imported into the mobile terminal through the following feasible implementation manners: installing an application program, wherein the application program carries at least one font file, caches each font file, and generates a font switching interface, and the font switching interface comprises an identifier of a font corresponding to each font file; specifically, in the actual use process, when a user needs to change the font of the text in the mobile terminal, the user may download an application program including at least one font file, and install the application program on the mobile terminal, after the mobile terminal completes installation of the application program, the mobile terminal may obtain each font file in the installed application program, further, in order to facilitate the user to perform font switching operation on the text in the mobile terminal, after the mobile terminal completes installation of the application program, the mobile terminal may further generate a font switching interface, the font switching interface includes the identifier of the font corresponding to each font file, correspondingly, the mobile terminal may receive the font switching request including the identifier of the target font through the following feasible implementation manners: and receiving the identifier of the target font selected by the user on the font switching interface, and generating a font switching request comprising the identifier of the target font.
The following describes the font switching process performed by the user in detail.
In the actual application process, when a user needs to switch the fonts of characters in the mobile terminal, the application program can be downloaded, the downloaded application program is assumed to include font files corresponding to fonts 1 to 3, the font carried by the system in the mobile terminal is a font 4 (default font), and after the application program is downloaded and installed in the mobile terminal, an interface can be displayed on the interface of the terminal.
Fig. 6 is a first schematic diagram of a mobile terminal interface for font switching according to an embodiment of the present invention, as shown in fig. 6, the interface includes fonts and font sizes, where the fonts include fonts (font 1-font 3) in an application program and a font 4 carried by a system in the mobile terminal, and the font sizes include: the mobile terminal comprises a small font, a common font and a large font, a selected button is arranged behind each font and the size of each font, before the font of a user is switched, the font of the character of the mobile terminal is a system default font 4, the size of the font is ' common ', at the moment, the state of the selected button corresponding to the font 4 ' and the ' common ' is a selected state, wherein in the font, only one button of the buttons corresponding to the fonts 1-4 can be selected at the same time, only one button of the buttons corresponding to the small font, the common font and the ' large ' can be selected at the same time, and when the font of the character of the mobile terminal needs to be changed by the user, the button in the ' font ' and/or the ' size ' can be selected again for operation.
Fig. 7 is a schematic diagram of a second mobile terminal interface for font switching according to an embodiment of the present invention, as shown in fig. 7, when a user needs to change a font of a text in the mobile terminal to "font 1" (a budding body), "the user may select a button corresponding to" font 1 ", and at the same time, a button corresponding to" font 4 "is changed to an unselected state, and after the user selects the button corresponding to" font 1 ", a click operation is performed on a" switch "button in the interface, so that the font of the text in the mobile terminal is switched from font 1 to font 4.
Fig. 8 is a third schematic diagram of a mobile terminal interface for font switching according to an embodiment of the present invention, and as shown in fig. 8, the font of the text in the mobile terminal is font 4.
After the mobile terminal obtains the converted target font file, the text in the mobile terminal may be displayed according to the converted target font file in a plurality of feasible ways, which may specifically include:
clearing current drawing information cached in the mobile terminal, wherein the current drawing information is used for displaying characters in the mobile terminal by using current fonts in the mobile terminal; according to the converted target font file, drawing characters in the mobile terminal to obtain target drawing information corresponding to the target font; and displaying the characters in the mobile terminal according to the target drawing information.
In the embodiment of the present invention, when a text interface in a mobile terminal needs to be displayed, a font file for displaying the text interface and text to be displayed on the text interface need to be obtained first, the mobile terminal draws the text to be displayed according to font attributes, layouts, and the like included in the font file to obtain drawing information, and then displays the text in the mobile terminal according to the obtained drawing information, for example, for a mobile terminal equipped with an Android system, the mobile terminal specifically displays the text interface in the mobile terminal in a feasible manner as follows: when the mobile terminal is started, starting a system control Textview, then loading a font file system _ font of characters displayed by a user, creating a data structure required for drawing the fonts in the system through a skia library, caching the data structure, drawing the characters to be displayed in the Textview according to the font file system _ font, and after drawing information is obtained, displaying the characters in the mobile terminal on an interface of the mobile terminal.
In the practical application process, in the process of switching the font format of the characters of the mobile terminal, after obtaining the converted target font file, the mobile terminal clears the current drawing information cached in the mobile terminal, the current rendering information is used to display text in the mobile terminal in a current font in the mobile terminal, optionally, the mobile terminal may be restarted by restarting a font display module in the mobile terminal or restarting the mobile terminal to clear the current drawing information cached in the mobile terminal, after the current rendering information in the mobile terminal is cleared, the mobile terminal, according to the converted target font file, the method comprises the steps of drawing characters in the mobile terminal to obtain target drawing information corresponding to a target font, and displaying the characters in the mobile terminal according to the target drawing information, wherein the font of the characters displayed according to the target drawing information is the target font.
When the current font of the characters in the mobile terminal needs to be switched to the target font, the mobile terminal sets and draws the terminal according to the converted target font file by clearing the current drawing information cached in the mobile terminal to obtain the target drawing information, displays the characters in the mobile terminal according to the target drawing information, and can improve the speed of switching the font of the characters in the mobile terminal by replacing the drawing information, so that the user experience is improved.
Example 2
According to another aspect of the embodiments of the present invention, there is also provided a mobile terminal, fig. 9 is a block diagram of a mobile terminal for implementing system-level font switching according to an embodiment of the present invention, as shown in fig. 9, the mobile terminal includes a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute a font switching program stored in the memory to implement the steps of:
receiving a switching instruction for changing fonts through an operation inlet preset by a system, wherein the operation inlet is positioned in a data partition, and the switching instruction comprises an identifier of a target font;
and switching the fonts of the system according to the switching instruction.
Preferably, the processor is further configured to execute a font switching program to implement the steps of:
before receiving a switching instruction for changing fonts through an operation inlet preset by a system, setting the operation inlet, wherein the operation inlet is an interface of a special application or a setting program, the interface is used for modifying a file, and the file is a font file or a link file and points to other effective font files.
Preferably, the processor is further configured to execute a font switching program to implement the steps of:
modifying information of a system font configuration file in rom source code;
modifying the font file name which is allowed to be modified by the user into a custom name;
and adding a primary link in a system font storage directory in a script or copying mode, wherein the name is consistent with the self-defined name, and the file actually pointed by the link is the file in the special working directory in the user data partition.
Preferably, before the font switching operation is performed or after the font switching is cancelled, the file points to the default font in the original font storage directory by default.
Preferably, the processor is further configured to execute a font switching program to implement the steps of:
acquiring a target font file corresponding to the identifier of the target font according to the switching instruction;
converting the format of the target font file into a system font file format to obtain a converted target font file, wherein the system font file format is the format of a font file which can be recognized by the mobile terminal;
and displaying characters according to the converted target font file.
Preferably, the processor is further configured to execute a font switching program to implement the steps of:
clearing the cached current drawing information, wherein the current drawing information is used for displaying characters in a current font;
according to the converted target font file, drawing characters to obtain target drawing information corresponding to the target font;
and displaying characters according to the target drawing information.
Example 3
According to another aspect of embodiments of the present invention, there is also provided a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the font switching method described above.
In the embodiment of the invention, an operation entrance preset by a system is used for receiving a switching instruction for changing fonts, wherein the operation entrance is positioned in a data partition, and the switching instruction comprises an identifier of a target font; the font switching processing method and the font switching processing device have the advantages that the font switching processing device can switch fonts of a system according to the switching instruction, the problem that great potential safety hazards exist in the prior art that font switching is carried out by forcibly acquiring the root authority through a third-party tool is solved, the fonts can be switched without forcibly acquiring the root authority through the preset font switching operation entrance of the data partition, the font switching safety level is improved, and user experience is improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (6)

1. A font switching method is characterized by comprising the following steps:
receiving a switching instruction for changing fonts through an operation inlet preset by a system, wherein the operation inlet is positioned in a data partition, and the switching instruction comprises an identifier of a target font;
switching the fonts of the system according to the switching instruction;
before the receiving, through an operation entry preset by the system, a switching instruction for changing a font, the method further includes:
setting the operation entry, wherein the operation entry is an interface of a special application or a setting program, the interface is used for modifying a file, the file is a font file or a link file, and the link file points to other effective font files;
wherein, prior to setting the operational portal, the method further comprises:
modifying information of a system font configuration file in the source code;
modifying the font file name which is allowed to be modified by the user into a custom name;
and adding a primary link in a system font storage directory in a script or copying mode, wherein the name is consistent with the self-defined name, the file actually pointed by the link is a font file or a link file under a special working directory in a user data partition, and the link file points to other effective font files.
2. The method of claim 1, wherein the file defaults to a default font in the original font storage directory before performing a font switching operation or after canceling the font switching.
3. The method according to any one of claims 1 to 2, wherein switching the font of the system according to the switching instruction comprises:
acquiring a target font file corresponding to the identifier of the target font according to the switching instruction;
converting the format of the target font file into a system font file format to obtain a converted target font file, wherein the system font file format is the format of a font file which can be recognized by the mobile terminal;
and displaying characters according to the converted target font file.
4. The method of claim 3, wherein displaying text according to the converted target font file comprises:
clearing the cached current drawing information, wherein the current drawing information is used for displaying characters in a current font;
according to the converted target font file, drawing characters to obtain target drawing information corresponding to the target font;
and displaying characters according to the target drawing information.
5. A mobile terminal, characterized in that the mobile terminal comprises a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute a font switching program stored in the memory to implement the steps of:
receiving a switching instruction for changing fonts through an operation inlet preset by a system, wherein the operation inlet is positioned in a data partition, and the switching instruction comprises an identifier of a target font;
switching the fonts of the system according to the switching instruction;
wherein the processor is further configured to execute a font switching program to implement the steps of:
before receiving a switching instruction for changing fonts through an operation inlet preset by a system, setting the operation inlet, wherein the operation inlet is an interface of a special application or a setting program, the interface is used for modifying a file, the file is a font file or a link file, and the link file points to other effective font files;
wherein the processor is further configured to execute a font switching program to implement the steps of:
modifying information of a system font configuration file in the source code;
modifying the font file name which is allowed to be modified by the user into a custom name;
and adding a primary link in a system font storage directory in a script or copying mode, wherein the name is consistent with the self-defined name, the file actually pointed by the link is a font file or a link file under a special working directory in a user data partition, and the link file points to other effective font files.
6. A computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs which are executable by one or more processors to implement the steps of the font switching method of any one of claims 1-4.
CN201710374524.0A 2017-05-24 2017-05-24 Font switching method, mobile terminal and computer readable storage medium Active CN107153551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710374524.0A CN107153551B (en) 2017-05-24 2017-05-24 Font switching method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710374524.0A CN107153551B (en) 2017-05-24 2017-05-24 Font switching method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107153551A CN107153551A (en) 2017-09-12
CN107153551B true CN107153551B (en) 2020-11-10

Family

ID=59794395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710374524.0A Active CN107153551B (en) 2017-05-24 2017-05-24 Font switching method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107153551B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109561209A (en) * 2018-11-22 2019-04-02 努比亚技术有限公司 A kind of font switching method, terminal and computer readable storage medium
CN111309238B (en) * 2019-12-09 2021-04-13 青岛海信移动通信技术股份有限公司 Font switching method and mobile terminal
CN111507063A (en) * 2020-02-27 2020-08-07 平安科技(深圳)有限公司 Text processing method, device and equipment and computer readable storage medium

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
CN103150292A (en) * 2013-03-29 2013-06-12 北京奇虎科技有限公司 Method and device for replacing system font file
CN105630511A (en) * 2016-02-18 2016-06-01 青岛海信移动通信技术股份有限公司 Font switching method and terminal equipment
CN106168901A (en) * 2016-06-23 2016-11-30 北京奇虎科技有限公司 Application program font customizing method and control method and related device
CN106406919A (en) * 2015-07-27 2017-02-15 青岛海信移动通信技术股份有限公司 Terminal device pre-loaded application management method and terminal device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050094172A1 (en) * 2003-10-30 2005-05-05 International Business Machines Corporation Linking font resources in a printing system
JP2006072882A (en) * 2004-09-06 2006-03-16 Nec Corp Portable communication terminal and character display method

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
CN103150292A (en) * 2013-03-29 2013-06-12 北京奇虎科技有限公司 Method and device for replacing system font file
CN106406919A (en) * 2015-07-27 2017-02-15 青岛海信移动通信技术股份有限公司 Terminal device pre-loaded application management method and terminal device
CN105630511A (en) * 2016-02-18 2016-06-01 青岛海信移动通信技术股份有限公司 Font switching method and terminal equipment
CN106168901A (en) * 2016-06-23 2016-11-30 北京奇虎科技有限公司 Application program font customizing method and control method and related device

Also Published As

Publication number Publication date
CN107153551A (en) 2017-09-12

Similar Documents

Publication Publication Date Title
CN108572764B (en) Character input control method and device and computer readable storage medium
CN107329865B (en) Method for opening adb function of debugging bridge, mobile terminal and computer readable medium
CN107220132B (en) Method, equipment and storage medium for monitoring file creation information
CN109922078B (en) Upgrade control method, mobile terminal and computer-readable storage medium
CN109766119B (en) Recovery partition upgrade method, terminal and computer readable storage medium
CN107656743B (en) Application unloading method, terminal and readable storage medium
CN107741802B (en) Application starting method, terminal and computer readable storage medium
CN110020386B (en) Application page sharing method, mobile terminal and computer readable storage medium
CN111427709B (en) Application program splitting control method, device and computer readable storage medium
CN107153551B (en) Font switching method, mobile terminal and computer readable storage medium
CN107422956B (en) Mobile terminal operation response method, mobile terminal and readable storage medium
CN109976859B (en) Screenshot method, terminal and computer readable storage medium
CN109151081B (en) Production comprehensive testing method and device, intelligent terminal and readable storage medium
CN109725819B (en) Interface display method and device, double-screen double-system terminal and readable storage medium
CN107229470B (en) System font switching method, mobile terminal and computer readable storage medium
CN107748680B (en) Kernel configuration method, terminal and computer readable storage medium
CN107194217B (en) User data access control method, apparatus and computer-readable storage medium
CN110083294B (en) Screen capturing method, terminal and computer readable storage medium
CN111931155A (en) Verification code input method, verification code input equipment and storage medium
CN110187934B (en) Application control method, terminal and computer readable storage medium
CN109068314B (en) Operator configuration file switching method, intelligent device and readable storage medium
CN109683796B (en) Interaction control method, equipment and computer readable storage medium
CN108845821B (en) Application program updating method, terminal and computer readable storage medium
CN109062688B (en) Memory allocation method, server and mobile terminal
CN108900696B (en) Data processing method, terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201010

Address after: 221300 north side of Qingnian East Road, Yunhe Town, Pizhou City, Xuzhou City, Jiangsu Province

Applicant after: Pizhou Runhong Industry Co.,Ltd.

Address before: 518057 Guangdong Province, Shenzhen high tech Zone of Nanshan District City, No. 9018 North Central Avenue's innovation building A, 6-8 layer, 10-11 layer, B layer, C District 6-10 District 6 floor

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant