CN111008025A - Font silent installation method, device, equipment and storage medium - Google Patents
Font silent installation method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN111008025A CN111008025A CN201911239525.XA CN201911239525A CN111008025A CN 111008025 A CN111008025 A CN 111008025A CN 201911239525 A CN201911239525 A CN 201911239525A CN 111008025 A CN111008025 A CN 111008025A
- Authority
- CN
- China
- Prior art keywords
- font
- name
- fonts
- current software
- registry
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The application provides a font silent installation method, a font silent installation device, font silent installation equipment and a font silent installation storage medium. The method comprises the following steps: starting a target authority program operated by the identity of an administrator, downloading font information to be installed into a folder of an operating system, acquiring the font information through the target authority, writing the font information into a registry, and loading the font information to current software. By the method, the user does not need to manually download and install the font into the designated software when using the new font, and the font installation efficiency is improved.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a font silent installation method, apparatus, device, and storage medium.
Background
At present, users like to match characters with different styles when designing the pictures and texts. It is therefore important how the fonts are installed.
In the prior art, a user needs to manually install fonts, such as: when a user needs to load a new font for a word document, the user needs to find the installation package of the font and click the buttons of downloading, installing, next step, completing and the like to complete the installation of the font, and the manual installation process has the problems of very complicated operation steps and low font installation efficiency.
Disclosure of Invention
The application provides a font silent installation method, a font silent installation device, font silent installation equipment and a storage medium, so that font installation efficiency is improved.
In a first aspect, the present application provides a font silent installation method, including: starting a target authority; downloading the fonts to be installed into a folder of an operating system through the target authority; acquiring font information of a font to be installed through the target authority, and writing the font information into a registry of an operating system; and loading the fonts to be installed to the current software according to the font information. Compared with a manual installation process, the font silent installation method is simpler in operation process, and therefore font installation efficiency can be improved. Further, since the font to be installed is written into the registry of the operating system, that is, the font to be installed is persisted in the font silent installation device, when the user needs to use the font to be installed, the font does not need to be activated.
Optionally, the folder of the operating system includes: a font resource list; correspondingly, downloading the fonts to be installed into the folder of the operating system through the target authority comprises the following steps: and downloading the fonts to be installed into the font resource list through the target authority.
Optionally, the font information of the font to be installed includes: and determining the name of the registry and/or the first name of the font to be installed under the operating system according to the font to be installed, wherein the name of the registry and the first name have a first corresponding relation. That is, the font to be installed can be loaded to the current software by the name of the registry and/or the first name of the font to be installed under the operating system.
Optionally, before loading the font to be installed to the current software according to the font information, the method further includes: acquiring a second name of the font to be installed under the current software; acquiring a second corresponding relation between the second name and the first name; correspondingly, loading the fonts to be installed to the current software according to the font information comprises the following steps: determining a first name according to the second name and the second corresponding relation; generating a font storage path to be installed according to the first name; and acquiring the fonts to be installed from the font resource list through the storage path, and loading the fonts to the current software.
Optionally, before loading the font to be installed to the current software according to the font information, the method further includes: acquiring a second name of the font to be installed under the current software; acquiring a third corresponding relation between the second name and the name of the registry; correspondingly, loading the fonts to be installed to the current software according to the font information comprises the following steps: determining the name of the registry according to the second name and the third corresponding relation; determining a first name according to the name of the registry and the first corresponding relation; generating a font storage path to be installed according to the first name; and acquiring the fonts to be installed from the font resource list through the storage path, and loading the fonts to the current software.
In a second aspect, the present application provides a font silence installation apparatus, including: the system comprises a starting module, a downloading module, a processing module and a loading module, wherein the starting module is used for starting a target authority; the downloading module is used for downloading the fonts to be installed into a folder of the operating system through the target authority; the processing module is used for acquiring font information of a font to be installed through the target authority and writing the font information into a registry of the operating system; and the loading module is used for loading the fonts to be installed to the current software according to the font information.
Optionally, the downloading module is specifically configured to: and determining the name of the registry and/or the first name of the font to be installed under the operating system according to the font to be installed, wherein the name of the registry and the first name have a first corresponding relation.
Optionally, the present application provides a font silence installation apparatus, further including: the first obtaining module is used for obtaining a second name of the font to be installed under the current software before the font to be installed is loaded to the current software by the loading module according to the font information; the second obtaining module is used for obtaining a second corresponding relation between the second name and the first name;
correspondingly, the loading module is specifically configured to: determining a first name according to the second name and the second corresponding relation; generating a font storage path to be installed according to the first name; and acquiring the fonts to be installed from the font resource list through the storage path, and loading the fonts to the current software.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the font silent installation method according to the first aspect or the alternatives of the first aspect is implemented.
In a fourth aspect, the present application provides a computer program product, which includes computer executable instructions, and when the computer executable instructions are executed by a processor, the font silent installation method according to the first aspect or the optional manner of the first aspect is implemented.
The font silent installation method, the font silent installation device, the font silent installation equipment and the storage medium are adopted, the operation process is simpler, and the font installation efficiency can be improved. The fonts to be installed can be downloaded into a folder of the operating system through the target authority; acquiring font information of a font to be installed through the target authority, and writing the font information into a registry of an operating system; and loading the fonts to be installed to the current software according to the font information. Since the font to be installed is written into the registry of the operating system, that is, the font to be installed is persisted in the font silent installation device, when the user needs to use the font to be installed, the font does not need to be activated.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow chart of a font silent installation method provided by the present application;
FIG. 2 is a flow chart of another font silent installation method provided by the present application;
fig. 3 is a schematic diagram illustrating a correspondence relationship between a first name and a second name of a font to be installed and a name of a registry according to an embodiment of the present application;
FIG. 4 is a flow chart of another font silent installation method provided by the present application;
fig. 5 is a schematic structural diagram of a font silence installation apparatus provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a font silence installation device provided in the present application.
With the foregoing drawings in mind, certain embodiments of the disclosure have been shown and described in more detail below. These drawings and written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the concepts of the disclosure to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terms referred to in this application are explained first:
target authority: is an administrator authority which means that operating system files are not intercepted by the operating system when being processed.
A registry: the method is an important database of the operating system, wherein various parameters are stored in the database, and the database directly controls the starting of the operating system, the loading of a hardware driver and the running of some operating system application programs, thereby playing a core role in the whole system. These actions include software, hardware related configuration and status information, such as initial conditions, preferences, and uninstall data for applications and explorer shells stored in a registry, settings and permissions for the overall system of networked computers, association of file extensions with applications, description, status, and attributes of hardware components, performance records, and other underlying system status information, and other data. In this embodiment, the function of the registry is to store parameter information corresponding to the name of the font, and serve as an interface for installing and calling the font of the application software and the operating system. The registry stores information of the registry and/or fonts to be installed, such as: the information of the registry is the name of the registry, and the information of the font to be installed is the first name of the font to be installed under the operating system.
Font resource list: also referred to as an operating system font resource list, which is a list of resources in a folder of an operating system, a font to be installed may be cached in the font resource list when the operating system is started and run.
Optionally, the application scenarios of the present application are as follows: the font silent installation device is provided with a registry and a folder of the operating system, and the folder is provided with a font resource list. In addition, the font silence installation device also installs current software, for example, the current software is word. By current software is meant software that currently requires installation of fonts to be installed.
Optionally, the font silent installation device in the present application may be a Personal Computer (PC), a mobile phone, a vehicle-mounted terminal, and the like, which is not limited in the present application.
Optionally, the operating system in the present application may be a Windows operating system or an Android, IOS operating system, and the like, which is not limited in the present application.
Optionally, the software in the present Application may be Word, Excel, other Application (APP) software, and the like, which is not limited in the present Application.
As described above, in the prior art, the fonts are installed by a manual installation method, and the operation steps of the process are very complicated, which causes a problem of low font installation efficiency. In order to solve the technical problem, the application provides a font silent installation method, device, equipment and storage medium. The main idea of the application is as follows: the font installation efficiency is improved by the silent installation method.
Fig. 1 is a schematic flow chart of a font silent installation method provided in the present application. The method is performed by part or all of the font-silent installing apparatus, and the part of the font-silent installing apparatus may refer to a processor in the font-silent installing apparatus. The following describes a font silent installation method with a font silent installation apparatus as an execution subject. As shown in fig. 1, the method comprises the steps of:
s100: the silent installation device starts the target permission.
S102: and the silent installation equipment downloads the fonts to be installed into a folder of the operating system through the target authority.
S104: and the silent installation equipment acquires font information of the fonts to be installed through the target authority and writes the font information into a registry of the operating system.
S106: and the silent installation equipment loads the fonts to be installed to the current software according to the font information.
The following description is made with respect to step S100:
the common authority for a certain software means that a user can only simply run the software but cannot change and load the software. Therefore, when the user needs to load the fonts to be installed to the current software, the target authority refers to that the fonts to be installed can be loaded to the current software by starting the target authority because the target authority is not intercepted by the operating system when the operating system files are processed.
Optionally, taking the Windows operating system as an example, when the user selects to log in the user interface, pressing Ctrl + Alt + Del may open the user login box, input the administrator account and the password, trigger the silent installation device to verify the administrator account and the password, and when the input administrator account and the password are successfully verified, trigger the silent installation device to start the target permission.
The following description is made with respect to step S102:
taking the Windows operating system as an example, the silent installation device downloads the Fonts to be installed into the Fonts folder of the C disk through the target authority.
Optionally, the silent installation device downloads the fonts to be installed to the font resource list of the operating system through the target authority. Taking the Windows operating system as an example, the silent installation device may call the addfortresresource, which is an external interface function, to add the font to be installed to the font resource list.
The following description is made with respect to step S104:
the silent installation device can acquire the font information of the fonts to be installed in the following way: and the silent installation equipment adopts the font analysis specification corresponding to the operating system to analyze the font information of the fonts to be installed through the target authority.
Optionally, the font information of the font to be installed includes: and determining the name of the registry and/or the first name of the font to be installed under the operating system according to the font to be installed, wherein the name of the registry and the first name have a first corresponding relation.
The name of the registry and the first name of the font to be installed are introduced below for different fonts to be installed:
the fonts to be installed are: square colorful cloud simple.
Name of registry: a square color cloud body (TrueType).
A first name of a font to be installed: fzcyjw.ttf.
The fonts to be installed are: microsoft elegant black.
Name of registry: microsoft Yahei UI (TrueType).
A first name of a font to be installed: msyh _0. ttc.
The fonts to be installed are: abril Titling Bold.
Name of registry: abril Titling Bold (OpenType).
A first name of a font to be installed: AbrilTitling-bold.
It should be noted that, in the font silent installation device, there is generally one registry, but the names of the corresponding registries are different for different fonts.
The following description is made with respect to step S106:
taking the Windows operating system as an example, the silent installation device may call an Application Programming Interface (API) function, which is a PostMessage, to send font information to the current software, so as to load the fonts to be installed to the current software. Through the PostMessage function, a user can load fonts to be installed to the current software only by refreshing the available font list in the current software, so that the process of restarting the current software can be omitted.
The application provides a silent installation method, which comprises the following steps: and starting the target authority, and downloading the fonts to be installed into the folder of the operating system through the target authority. And acquiring font information of the font to be installed through the target authority, and writing the font information into a registry of the operating system. And loading the fonts to be installed to the current software according to the font information. First, compared with the manual installation process, the silent installation of fonts has a simpler operation process, so that the font installation efficiency can be improved. Secondly, since the font to be installed is written into the registry of the operating system, i.e. the existing font silent installation device in which the font to be installed is persisted, it is not necessary to activate the font when the user needs to use the font to be installed. Finally, the silent installation device can call an API function corresponding to the operating system to send the font information to the current software, so as to load the font to be installed to the current software. Through the API function, a user can load the fonts to be installed to the current software only by refreshing the available font list in the current software, so that the process of restarting the current software can be omitted.
Fig. 2 is a schematic flowchart of another font silent installation method provided in this application, and fig. 2 is further based on the embodiment shown in fig. 1, and before step S106, further includes:
s105 a: and the font silent installation equipment acquires a second name of the font to be installed under the current software.
S105 b: and the font silent installation equipment acquires a second corresponding relation between the second name and the first name.
Accordingly, step S106 includes:
s106 a: and the font silent installation equipment determines the first name according to the second name and the second corresponding relation.
S106 b: and the font silent installation equipment generates the font storage path to be installed according to the first name.
S106 c: and the font silent installation equipment acquires the fonts to be installed from the font resource list through the storage path and loads the fonts to the current software.
The explanation is made with respect to step S105a and step S105 b:
when the fonts to be installed exist in the font silent installation equipment, the font silent installation equipment can automatically copy the whole font file packet into the current software, and the font silent installation equipment compares the whole font file packet with the historical font files before copying to determine the fonts to be installed and acquire the second names of the fonts to be installed under the current software.
Fig. 3 is a schematic diagram of a correspondence relationship between a first name and a second name of a font to be installed and a name of a registry, provided in an embodiment of the present application, where as shown in fig. 3, the first name and the second name of the font to be installed have a second correspondence relationship. For example: the font to be installed is a square color cloud simplified font, and then the first name of the font to be installed is fzcyjw. The second name is a square color cloud cylinder. Ttf has a unique correspondence, i.e., a second correspondence, with the square orthochromatic cloud. For another example: and if the font to be installed is Microsoft elegant black, the first name of the font to be installed is msyh _0. ttc. The second name is microsoft elegant black. msyh _0.ttc and microsoft Jacob have a unique correspondence, namely a second correspondence.
The following description is made for S106a to S106 c:
since the font to be installed is stored in the font resource list of the folder of the operating system, the storage path of the font to be installed includes the first name of the font to be installed under the operating system. Based on this, the font silence installation device first determines the first name according to the second name and the second correspondence. Such as: the second name of the font to be installed is a square and regular cloud profile, and the font silent installation apparatus may determine that the first name of the font to be installed is fzcyjw. For another example: the second name of the font to be installed is microsoft yablackish, and the font quiet installation device may determine that the first name of the font to be installed is msyh _0. ttc.
Further, the font silent installation equipment generates a storage path of the font to be installed according to the position of the font to be installed and the first name. For example: the font to be installed is stored in a resource list re _ list of a Fonts folder of the C disk, the first name of the font to be installed is FZCYJW.TTF, and based on the first name, the generated storage path is C: \ Fonts \ re _ list \ FZCYJW.TTF. Furthermore, the font silent installation device acquires the fonts to be installed from the font resource list through the storage path and loads the fonts to the current software.
The application provides a font silent installation method, which comprises the following steps: and the font silent installation equipment acquires a second name of the font to be installed under the current software. And acquiring a second corresponding relation between the second name and the first name. And determining the first name according to the second name and the second corresponding relation. And determining the first name according to the second name and the second corresponding relation. And generating the font storage path to be installed according to the first name. The font to be installed can be obtained from the font resource list through the storage path and loaded to the current software. The silent installation equipment can call an API function corresponding to the operating system to send the font information to the current software so as to load the fonts to be installed to the current software. Through the API function, a user can load the fonts to be installed to the current software only by refreshing the available font list in the current software, so that the process of restarting the current software can be omitted.
Fig. 4 is a schematic flowchart of another font silent installation method provided in this application, and fig. 4 is further based on the embodiment shown in fig. 1, before step S106, further includes:
s105 d: and the font silent installation equipment acquires a second name of the font to be installed under the current software.
S105 e: and the font silent installation equipment acquires a third corresponding relation between the second name and the name of the registry.
Accordingly, step S106 includes:
s106 d: and the font silent installation equipment determines the name of the registry according to the second name and the third corresponding relation.
S106 e: and the font silent installation equipment determines the first name according to the name of the registry and the first corresponding relation.
S106 f: and the font silent installation equipment generates a font storage path to be installed according to the first name.
S106 g: and the font silent installation equipment acquires the fonts to be installed from the font resource list through the storage path and loads the fonts to the current software.
The explanation is made with respect to step S105d and step S105 e:
when the fonts to be installed exist in the font silent installation equipment, the font silent installation equipment can automatically copy the whole font file packet into the current software, and the font silent installation equipment compares the whole font file packet with the historical font files before copying to determine the fonts to be installed and acquire the second names of the fonts to be installed under the current software.
As shown in fig. 3, the second name of the font to be installed and the name of the registry have a third corresponding relationship. For example: the font to be installed is a square color cloud simplified body, and the name of the registry of the font to be installed is the square color cloud simplified body (TrueType). The second name is a square color cloud cylinder. The square colored cloud simple (TrueType) and the square colored cloud simple have a unique correspondence, i.e., a third correspondence. For another example: the font to be installed is Microsoft ja black, and then the registry name of the font to be installed is Microsoft ja black & Microsoft Yahei UI (TrueType). The second name is microsoft elegant black. Microsoft Yahei UI (TrueType) and Microsoft Yahei have a unique correspondence, i.e., a third correspondence.
The following description is made for S106d to S106 g:
since the font to be installed is stored in the font resource list of the folder of the operating system, the storage path of the font to be installed includes the first name of the font to be installed under the operating system. Based on this, the font silent installation apparatus first determines the name of the registry according to the second name and the third correspondence. Such as: the second name of the font to be installed is a square colored cloud profile, and the font silent installation device may determine that the name of the registry is a square colored cloud profile (TrueType). For another example: the second name of the font to be installed is Microsoft jay black, and the font quiet installation device may determine that the name of the registry is Microsoft jay black & Microsoft Yahei UI (TrueType). The first name is determined next from the name of the registry and the first correspondence. Such as: the name of the registry of fonts to be installed is a square color cloud profile (TrueType), and the font silent installation device may determine that the first name of the font to be installed is fzcyjw. For another example: the name of the registry of fonts to be installed is Microsoft jah & Microsoft Yahei UI (TrueType), and the font quiet installation device may determine that the first name of the font to be installed is msyh _0. ttc.
Further, the font silent installation equipment generates a storage path of the font to be installed according to the position of the font to be installed and the first name. For example: the font to be installed is stored in a resource list re _ list of a Fonts folder of the C disk, the first name of the font to be installed is FZCYJW.TTF, and based on the first name, the generated storage path is C: \ Fonts \ re _ list \ FZCYJW.TTF. Furthermore, the font silent installation device acquires the fonts to be installed from the font resource list through the storage path and loads the fonts to the current software.
The application provides a font silent installation method, which comprises the following steps: and the font silent installation equipment acquires a second name of the font to be installed under the current software. And acquiring a third corresponding relation between the second name and the name of the registry. And determining the name of the registry according to the second name and the third corresponding relation. A first correspondence between a name of a registry and a first name is obtained. And determining the first name according to the name of the registry and the first corresponding relation. And generating the font storage path to be installed according to the first name. The font to be installed can be obtained from the font resource list through the storage path and loaded to the current software. The silent installation equipment can call an API function corresponding to the operating system to send the font information to the current software so as to load the fonts to be installed to the current software. Through the API function, a user can load the fonts to be installed to the current software only by refreshing the available font list in the current software, so that the process of restarting the current software can be omitted.
Fig. 5 is a schematic structural diagram of a font silent installation apparatus provided in an embodiment of the present application, and as shown in fig. 5, the apparatus of the present embodiment includes:
a starting module 501, configured to start the target authority.
A downloading module 502, configured to download the font to be installed into the folder of the operating system through the target permission.
The processing module 503 is configured to obtain font information of a font to be installed through the target authority, and write the font information into a registry of the operating system.
And the loading module 504 is configured to load the font to be installed to the current software according to the font information.
Optionally, the folder of the operating system includes: a font resource list. Correspondingly, the downloading module 502 is specifically configured to: and downloading the fonts to be installed into the font resource list through the target authority.
Optionally, the font information of the font to be installed includes: and determining the name of the registry and/or the first name of the font to be installed under the operating system according to the font to be installed, wherein the name of the registry and the first name have a first corresponding relation.
Optionally, the method further includes:
the first obtaining module 505 is configured to obtain a second name of the font to be installed in the current software before the loading module 504 loads the font to be installed in the current software according to the font information.
A second obtaining module 506, configured to obtain a second corresponding relationship between the second name and the first name.
Correspondingly, the loading module 504 is specifically configured to: and determining the first name according to the second name and the second corresponding relation. And generating a font storage path to be installed according to the first name. And acquiring the fonts to be installed from the font resource list through the storage path, and loading the fonts to the current software.
Optionally, the method further includes:
the third obtaining module 507 is configured to obtain a second name of the font to be installed in the current software before the loading module 504 loads the font to be installed to the current software according to the font information.
A fourth obtaining module 508, configured to obtain a third corresponding relationship between the second name and the name of the registry.
Correspondingly, the loading module 504 is specifically configured to: and determining the name of the registry according to the second name and the third corresponding relation. And determining the first name according to the name of the registry and the first corresponding relation. And generating a font storage path to be installed according to the first name. And acquiring the fonts to be installed from the font resource list through the storage path, and loading the fonts to the current software.
The font silent installation apparatus in the embodiment of the present application may be configured to execute the technical solutions in the above method embodiments of the present application, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 6 is a schematic structural diagram of a font silent installation apparatus provided in the present application. As shown in fig. 6, the font silencing installation apparatus includes: a processor 61 and a memory 62.
The memory 62 stores computer-executable instructions.
The processor 61 executes the computer-executable instructions stored by the memory 62, causing the processor 62 to perform the font-mute installation method described above.
Optionally, the font silence installation device further includes: and a transceiver 63 for communicating with other network devices or terminal devices.
The font silent installation device in the embodiment of the present application may be configured to execute the technical solutions in the foregoing method embodiments of the present application, and the implementation principle and the technical effect are similar, which are not described herein again.
An embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, the method for installing font silence is implemented according to any one of the foregoing methods.
An embodiment of the present application further provides a computer program product, where the program product includes computer executable instructions, and the computer executable instructions are executed by a processor to implement any of the foregoing font silent installation methods.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (10)
1. A font silent installation method, comprising:
starting a target authority;
downloading the fonts to be installed into a folder of an operating system through the target authority;
acquiring font information of the font to be installed through the target authority, and writing the font information into a registry of the operating system;
and loading the fonts to be installed to the current software according to the font information.
2. The method of claim 1, wherein the operating system's folders comprise: a font resource list; correspondingly, the downloading the fonts to be installed to the folder of the operating system through the target authority includes:
and downloading the fonts to be installed into the font resource list through the target authority.
3. The method according to claim 1 or 2, wherein the font information of the font to be installed comprises:
and determining the name of the registry and/or a first name of the font to be installed under the operating system according to the font to be installed, wherein the name of the registry and the first name have a first corresponding relation.
4. The method according to claim 3, wherein before loading the font to be installed into the current software according to the font information, further comprising:
acquiring a second name of the font to be installed under the current software;
acquiring a second corresponding relation between the second name and the first name;
correspondingly, the loading the font to be installed to the current software according to the font information includes:
determining the first name according to the second name and the second corresponding relation;
generating the font storage path to be installed according to the first name;
and acquiring the fonts to be installed from the font resource list through the storage path, and loading the fonts to be installed to the current software.
5. The method according to claim 3, wherein before loading the font to be installed into the current software according to the font information, further comprising:
acquiring a second name of the font to be installed under the current software;
acquiring a third corresponding relation between the second name and the name of the registry;
correspondingly, the loading the font to be installed to the current software according to the font information includes:
determining the name of the registry according to the second name and the third corresponding relation;
determining the first name according to the name of the registry and the first corresponding relation;
generating the font storage path to be installed according to the first name;
and acquiring the fonts to be installed from the font resource list through the storage path, and loading the fonts to be installed to the current software.
6. A font silencing installation apparatus, comprising:
the starting module is used for starting the target authority;
the downloading module is used for downloading the fonts to be installed into a folder of the operating system through the target authority;
the processing module is used for acquiring the font information of the font to be installed through the target authority and writing the font information into a registry of the operating system;
and the loading module is used for loading the fonts to be installed to the current software according to the font information.
7. The apparatus according to claim 6, wherein the font information of the font to be installed comprises: and determining the name of the registry and/or a first name of the font to be installed under the operating system according to the font to be installed, wherein the name of the registry and the first name have a first corresponding relation.
8. The apparatus of claim 7, further comprising:
the first obtaining module is used for obtaining a second name of the font to be installed under the current software before the font to be installed is loaded to the current software by the loading module according to the font information;
a second obtaining module, configured to obtain a second corresponding relationship between the second name and the first name;
correspondingly, the loading module is specifically configured to:
determining the first name according to the second name and the second corresponding relation;
generating the font storage path to be installed according to the first name;
and acquiring the fonts to be installed from the font resource list through the storage path, and loading the fonts to be installed to the current software.
9. A font silencing installation apparatus comprising: a memory and a processor;
the memory is to store computer instructions; the processor is configured to execute the computer instructions stored by the memory to implement the font silencing installation method of any one of claims 1 to 5.
10. A computer-readable storage medium having stored therein computer-executable instructions for implementing the font-silent installation method of any one of claims 1 to 5 when executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911239525.XA CN111008025A (en) | 2019-12-06 | 2019-12-06 | Font silent installation method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911239525.XA CN111008025A (en) | 2019-12-06 | 2019-12-06 | Font silent installation method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111008025A true CN111008025A (en) | 2020-04-14 |
Family
ID=70114055
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911239525.XA Pending CN111008025A (en) | 2019-12-06 | 2019-12-06 | Font silent installation method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111008025A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112162763A (en) * | 2020-10-22 | 2021-01-01 | 北京北信源软件股份有限公司 | Method and device for unloading software in silent mode |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7761811B1 (en) * | 2004-06-22 | 2010-07-20 | Apple Inc. | User interface for assisting in the installation of an asset |
US20110126191A1 (en) * | 2009-11-25 | 2011-05-26 | Red Hat, Inc. | Method for extracting font metadata from font files into searchable metadata for package distribution |
CN102289511A (en) * | 2011-08-31 | 2011-12-21 | 深圳市茁壮网络股份有限公司 | Word stock file downloading method, user terminal and server |
CN106557379A (en) * | 2015-09-30 | 2017-04-05 | 北京奇虎科技有限公司 | A kind of generation method and device of installation kit of mourning in silence |
-
2019
- 2019-12-06 CN CN201911239525.XA patent/CN111008025A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7761811B1 (en) * | 2004-06-22 | 2010-07-20 | Apple Inc. | User interface for assisting in the installation of an asset |
US20110126191A1 (en) * | 2009-11-25 | 2011-05-26 | Red Hat, Inc. | Method for extracting font metadata from font files into searchable metadata for package distribution |
CN102289511A (en) * | 2011-08-31 | 2011-12-21 | 深圳市茁壮网络股份有限公司 | Word stock file downloading method, user terminal and server |
CN106557379A (en) * | 2015-09-30 | 2017-04-05 | 北京奇虎科技有限公司 | A kind of generation method and device of installation kit of mourning in silence |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112162763A (en) * | 2020-10-22 | 2021-01-01 | 北京北信源软件股份有限公司 | Method and device for unloading software in silent mode |
CN112162763B (en) * | 2020-10-22 | 2024-06-07 | 北京北信源软件股份有限公司 | Method and device for silent uninstallation of software |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9953189B2 (en) | Managing configurations of computing terminals | |
WO2018103550A1 (en) | Application program page processing method and apparatus | |
US10216510B2 (en) | Silent upgrade of software with dependencies | |
US8701104B2 (en) | System and method for user agent code patch management | |
CN105786538B (en) | software upgrading method and device based on android system | |
CN110808897A (en) | Proxy access method, user equipment, storage medium, device and system | |
CN110945480A (en) | System and method for updating and loading applications | |
US20060136872A1 (en) | Integrated setup for generating customization XML | |
CN107239309B (en) | Patch generation method and device, updating method, electronic device and storage medium | |
CN110780930A (en) | Method and device for starting Android system, electronic equipment and storage medium | |
CN112162795A (en) | Plug-in starting method and device, computer equipment and storage medium | |
US7685591B2 (en) | Customizing a software application through a patch file | |
CN112035132A (en) | Language switching method and device for application program | |
CN111008025A (en) | Font silent installation method, device, equipment and storage medium | |
CN111966368B (en) | Application program silent installation method and system, android terminal and readable medium | |
CN110825417A (en) | Application program updating method and system | |
CN110825373A (en) | Dynamic method and device for mobile terminal | |
WO2022228236A1 (en) | Method and apparatus for controlling android app, and terminal device | |
US10521592B2 (en) | Application translocation | |
EP4350516A1 (en) | Control method and electronic device | |
JP2014099082A (en) | Information processing system, information processing device, information processing program, application execution method and storage medium | |
US20240126537A1 (en) | Software application management in heterogeneous managed networks | |
CN114691229B (en) | Application program self-starting method and device and electronic equipment | |
CN117827122A (en) | Printer installation method and device and readable storage medium | |
CN116204921A (en) | Big data component access control method, server and medium operating on k8s platform |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200414 |