CN111259621B - Cloud font display method and device - Google Patents

Cloud font display method and device Download PDF

Info

Publication number
CN111259621B
CN111259621B CN201811358187.7A CN201811358187A CN111259621B CN 111259621 B CN111259621 B CN 111259621B CN 201811358187 A CN201811358187 A CN 201811358187A CN 111259621 B CN111259621 B CN 111259621B
Authority
CN
China
Prior art keywords
font
cloud
fonts
request
acquiring
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
CN201811358187.7A
Other languages
Chinese (zh)
Other versions
CN111259621A (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.)
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Kingsoft Mobile Technology Co Ltd
Original Assignee
Beijing Kingsoft Office Software Inc
Zhuhai Kingsoft Office Software Co Ltd
Guangzhou Kingsoft Mobile Technology 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 Beijing Kingsoft Office Software Inc, Zhuhai Kingsoft Office Software Co Ltd, Guangzhou Kingsoft Mobile Technology Co Ltd filed Critical Beijing Kingsoft Office Software Inc
Priority to CN201811358187.7A priority Critical patent/CN111259621B/en
Publication of CN111259621A publication Critical patent/CN111259621A/en
Application granted granted Critical
Publication of CN111259621B publication Critical patent/CN111259621B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Document Processing Apparatus (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides a cloud font display method and device, wherein the method comprises the following steps: sending a request for acquiring cloud font information, receiving and displaying preset number of font information randomly acquired by a cloud server. When the user selects the fonts, the font information can be selected from the preset number of currently displayed fonts, so that the range of the fonts selected by the user is reduced. By applying the embodiment of the invention, the interest of the user in selecting fonts is improved, so that the user experience is improved.

Description

Cloud font display method and device
Technical Field
The invention relates to the technical field of cloud font display, in particular to a cloud font display method and device.
Background
With the continuous change of artistic aesthetic and continuous development of characters, the variety of fonts is more and more, and the use of fonts in various documents is more and more common. For example, a font setup function is used in a PDF or WORD tool.
At present, fonts of a document editor are all pre-stored in a local disk of a terminal, fonts in font setting are sequentially arranged according to a preset sequence, as shown in fig. 1, when a user needs to select a font, the user can only sequentially browse and search the fonts in all fonts displayed in a font setting drop-down menu according to the preset font arrangement sequence, and the mode corresponds to the situation that the number of the fonts of the local disk is small, and the user can quickly search the required fonts.
With the increase of the number of fonts, for some terminal devices with small disk capacity, for example: and the mobile phone or PAD and other terminal equipment can not store all fonts in a local disk of the terminal so as to prevent the waste of storage resources. To solve this problem, cloud fonts appear, and all fonts are stored in the cloud. The terminal needs which fonts, and the fonts are downloaded from the cloud server.
However, there are hundreds of cloud fonts stored in the cloud server, if the fonts are browsed and found in all fonts displayed according to the preset font arrangement sequence, the fonts are arranged together in the sequence, so that the user is lack of freshness, the interest of the user in selecting the fonts is reduced, and the user experience is reduced.
Disclosure of Invention
The embodiment of the invention aims to provide a cloud font display method and device, so as to improve the interest of a user in selecting fonts and improve the user experience.
To achieve the above objective, an embodiment of the present invention discloses a method for displaying cloud fonts, which is applied to a client in communication connection with a cloud server, and the method includes:
sending a request for acquiring cloud font information;
receiving font information of a preset number of fonts issued by the cloud server; the preset number of fonts is as follows: the cloud server randomly acquires fonts from a cloud font library;
And displaying the received preset number of font information for the user to select.
Optionally, before the step of sending the request for acquiring the cloud font information, the method further includes:
detecting whether a font selection button in a menu bar of a document editing tool is selected; and if so, executing the step of sending the request for acquiring the cloud font information.
Optionally, the step of displaying the received preset number of font information for selection by the user includes:
in a font selection drop-down menu in the document editing tool menu bar, the received preset number of font information is displayed.
Optionally, after the step of displaying the received preset number of font information in the font selection drop-down menu in the document editing tool menu bar, the method further includes:
detecting whether a cloud font display switching button in a font selection drop-down menu is selected;
if yes, sending a request for acquiring font information of a preset number of fonts in the Yun Ziti library to the cloud server;
receiving font information of a preset number of fonts issued by the cloud server;
and displaying the font information of the preset number of fonts into a font selection drop-down menu in a menu bar of the document editing tool.
Optionally, after the step of displaying the received preset number of font information in the font selection drop-down menu in the document editing tool menu bar, the method further includes:
detecting whether more cloud font buttons are selected in a font selection drop-down menu;
if yes, sending a request for acquiring font information of all fonts in the Yun Ziti library to the cloud server;
receiving font information of all fonts issued by the cloud server;
generating a bullet frame for displaying font information;
and adding the font information pages of all fonts into the bullet frame for display.
Optionally, after the step of displaying the received preset number of font information in the font selection drop-down menu in the document editing tool menu bar, the method further includes:
detecting whether the cloud font name displayed in the font selection drop-down menu is selected;
if yes, sending a request for acquiring font data corresponding to the cloud font name to the cloud server;
receiving font data corresponding to the cloud font name issued by the cloud server;
and storing the acquired font data corresponding to the cloud font name.
In order to achieve the above objective, the embodiment of the present invention further discloses a cloud font display method, which is applied to a cloud server communicatively connected with a client, and the method includes:
receiving a request for acquiring cloud font information; the request is: a request for acquiring cloud font information sent by a client;
randomly acquiring font information of a preset number of fonts in a cloud font library;
and transmitting the acquired font information of the preset number of fonts to the client.
Optionally, numbering each font in the cloud font library; each font corresponds to a digital number;
the step of randomly acquiring font information of a preset number of fonts in a cloud font library comprises the following steps:
randomly acquiring a preset number of digits, and determining fonts corresponding to the preset number of digits as randomly acquired preset number of fonts;
and acquiring the font information of the preset number of fonts to obtain the font information of the preset number of fonts.
Optionally, the method further comprises:
receiving a request for acquiring font information of a preset number of fonts in the Yun Ziti library; the request is: after detecting that a cloud font display switching button in the font selection drop-down menu is selected, the client sends a request for acquiring font information of a preset number of fonts in the Yun Ziti library;
Acquiring font information of a preset number of fonts in a cloud font library;
and transmitting the acquired font information of the preset number of fonts to the client.
Optionally, the method further comprises:
receiving a request for acquiring font information of all fonts in the Yun Ziti library; the request is: after detecting that more cloud font buttons in the font selection drop-down menu are selected, the client sends a request for acquiring font information of all fonts in the Yun Ziti library;
acquiring font information of all fonts in a cloud font library;
and transmitting the acquired font information of all fonts to the client.
Optionally, the method further comprises:
receiving a request for acquiring font data corresponding to the cloud font name; the request is: after detecting that the cloud font name displayed in the font selection drop-down menu is selected, the client sends a request for acquiring font data corresponding to the cloud font name;
acquiring font data corresponding to the cloud font name in a cloud font library;
and transmitting the acquired font data to a client.
In order to achieve the above objective, the embodiment of the present invention further discloses a display device of cloud fonts, which is applied to a client in communication connection with a cloud server, and the device includes:
The first sending module is used for sending a request for acquiring cloud font information;
the first receiving module is used for receiving font information of a preset number of fonts issued by the cloud server; the preset number of fonts is as follows: the cloud server randomly acquires fonts from a cloud font library;
the first display module is used for displaying the received preset number of font information for the user to select.
Optionally, the apparatus further includes:
the first detection module is used for detecting whether a font selection button in a menu bar of the document editing tool is selected before a request for acquiring cloud font information is sent; and if so, triggering the first sending module to send a request for acquiring cloud font information.
Optionally, the first display module is specifically configured to display the received preset number of font information in a font selection drop-down menu in a menu bar of the document editing tool.
Optionally, the apparatus further includes:
the second detection module is used for detecting whether a cloud font display switching button in the font selection drop-down menu is selected or not after the step of displaying the received preset number of font information in the font selection drop-down menu in the menu bar of the document editing tool;
The second sending module is used for detecting that a cloud font display switching button in a font selection drop-down menu is selected and sending a request for acquiring font information of a preset number of fonts in the Yun Ziti library to the cloud server;
the second receiving module is used for receiving font information of a preset number of fonts issued by the cloud server;
and the second display module is used for displaying the font information of the preset number of fonts into a font selection drop-down menu in a menu bar of the document editing tool.
Optionally, the apparatus further includes:
a third detection module, configured to detect whether more cloud font buttons are selected in the font selection drop-down menu after the step of displaying the received preset number of font information in the font selection drop-down menu in the document editing tool menu bar;
the third sending module is used for sending a request for acquiring font information of all fonts in the Yun Ziti library to the cloud server after detecting that more cloud font buttons are selected in the font selection drop-down menu;
the third receiving module is used for receiving font information of all fonts issued by the cloud server;
The generation module is used for generating a bullet frame for displaying font information;
and the third display module is used for adding the font information pages of all the fonts into the bullet frame for display.
Optionally, the apparatus further includes:
a fourth detection module, configured to detect, in the font selection drop-down menu in the document editing tool menu bar, whether a cloud font name displayed in the font selection drop-down menu is selected after displaying the received preset number of font information;
a fourth sending module, configured to detect that a cloud font name displayed in the font selection drop-down menu is selected, and send a request for obtaining font data corresponding to the cloud font name to the cloud server;
a fourth receiving module, configured to receive font data corresponding to the cloud font name issued by the cloud server;
and the storage module is used for storing the acquired font data corresponding to the cloud font name.
In order to achieve the above objective, the embodiment of the present invention further discloses a cloud font display device, which is applied to a cloud server communicatively connected to a client, and the device includes:
the request receiving module is used for receiving a request for acquiring cloud font information; the request is: a request for acquiring cloud font information sent by a client;
The acquisition module is used for randomly acquiring font information of a preset number of fonts in the cloud font library;
and the issuing module is used for issuing the acquired font information of the preset number of fonts to the client.
In still another aspect of the present invention, there is further provided a computer readable storage medium having instructions stored therein, which when executed on a computer, cause the computer to perform any one of the cloud font display methods described above.
In yet another aspect of the implementation of the present invention, an embodiment of the present invention further provides a computer program product containing instructions, which when executed on a computer, cause the computer to perform any one of the cloud font display methods described above.
According to the cloud font display method and device, a request for acquiring cloud font information is sent, and a preset number of font information randomly acquired by a cloud server is received and displayed. When the user selects the fonts, the font information can be selected from the preset number of currently displayed fonts, so that the range of the fonts selected by the user is reduced. Therefore, the interest of the user in selecting fonts can be improved, and the user experience is improved.
Of course, it is not necessary for any one product or method of practicing the invention to achieve all of the advantages set forth above at the same time.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a font display in conventional font selection;
fig. 2 is a flowchart of a cloud font display method applied to a client according to an embodiment of the present invention;
fig. 3 is another flowchart of a cloud font display method applied to a client according to an embodiment of the present invention;
fig. 4 is a flowchart of another method for displaying a cloud font applied to a client according to an embodiment of the present invention;
fig. 5 is a flowchart of acquiring font data of a displayed cloud font according to an embodiment of the present invention;
FIG. 6 is a schematic representation of a display of cloud fonts in font selection in accordance with the present invention;
fig. 7 is a flowchart of a cloud font display method applied to a cloud server according to an embodiment of the present invention;
fig. 8 is another flowchart of a cloud font display method applied to a cloud server according to an embodiment of the present invention;
Fig. 9 is a schematic structural diagram of a display device of cloud fonts applied to a client according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a cloud font display device applied to a cloud server according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In order to solve the problems in the prior art, the embodiment of the invention provides a cloud font display method and device. The method for displaying the cloud fonts provided by the embodiment of the invention is first described below.
As shown in fig. 2, fig. 2 is a flow chart of a cloud font display method according to an embodiment of the present invention, which is applied to a client communicatively connected to a cloud server, and may include:
s201: sending a request for acquiring cloud font information;
in one case, the font information may be a font ID, a font name, a font style, and the like. Each font ID corresponds to a font name and a font style.
S202: receiving font information of a preset number of fonts issued by the cloud server; the preset number of fonts is as follows: the cloud server randomly acquires fonts from a cloud font library;
s203: and displaying the received preset number of font information for the user to select.
By applying the embodiment shown in fig. 2, a request for acquiring cloud font information is sent, and a preset number of font information randomly acquired by a cloud server is received and displayed. When the user selects the fonts, the font information can be selected from the preset number of currently displayed fonts, so that the range of the fonts selected by the user is reduced. Therefore, the interest of the user in selecting fonts is improved, and the user experience is improved.
In an embodiment, the embodiment of the invention provides another flowchart of a cloud font display method applied to a client in communication connection with a cloud server, as shown in fig. 3. In this embodiment, after detecting that the font selection button is selected, a request for acquiring font information is sent to the cloud server, and the acquired font information is displayed in a font selection drop-down menu in the document editing tool menu bar. Specifically, it may include:
s301: detecting whether a font selection button in a menu bar of a document editing tool is selected;
In one case, the document editing tool may be a PDF or Word in which a font used in editing the document is selected by selecting a font selection button. Detecting whether a font selection button in the document editing tool menu bar is selected may be detecting whether a font selection button in a PDF or Word menu bar is selected.
Under one condition, if no font which is required to be selected by the user is in the currently displayed font information in the font selection drop-down menu, the font display switching button is selected to acquire and display the preset number of font information in the font library of the cloud server again, so that the user selects among the preset number of fonts each time when selecting the fonts, and the range of each time of selecting the fonts is reduced. Then, whether a cloud font display switching button in a font selection drop-down menu is selected can be detected first, and if so, a request for acquiring font information of a preset number of fonts in the Yun Ziti library is sent to the cloud server.
S302: detecting that a font selection button in a menu bar of a document editing tool is selected, and sending a request for acquiring cloud font information;
in one case, after detecting that a font selection button in a menu bar of a document editing tool is selected, a request for acquiring cloud font information such as a font ID, a font name, a font style and the like is sent to a cloud server.
In one case, it may also be detected that a cloud font display switching button in the font selection drop-down menu is selected, and a request for acquiring cloud font information is sent.
S303: receiving font information of a preset number of fonts issued by a cloud server; the preset number of fonts is as follows: the cloud server randomly acquires fonts from a cloud font library;
in one case, the receiving of the font information of the preset number of fonts sent by the cloud server may be receiving of the font ID, the font name, the font style, and the like of the preset number of fonts sent by the cloud server.
Under one condition, after detecting that a cloud font display switching button is selected, sending a request for acquiring font information in a cloud font library to a cloud server, and then receiving font information of a preset number of fonts issued by the cloud server.
S304: in a font selection drop-down menu in the document editing tool menu bar, the received preset number of font information is displayed.
In one case, after receiving font information of a preset number of fonts issued by the cloud server, displaying the font names in the font information in a font selection drop-down menu in a menu bar of a PDF or Word document editing tool, for example, displaying the font names in a preset cloud font display bar of the font selection drop-down menu. When the font name displayed by the preset cloud font display column is detected to be indicated by a pointer, such as a mouse pointer, the font style corresponding to the font name is displayed, so that a user can know the style of the text edited after the font is selected.
The font information displayed in the font selection drop-down menu in the document editing tool menu bar may be font information acquired after the font selection button is selected, or may be font information acquired after the cloud font display switching button in the font selection drop-down menu is selected.
Applying the embodiment shown in fig. 3, after detecting that the font selection button is selected, sending a request for acquiring font information to the cloud server, and displaying the acquired font information of a preset number of fonts in a font selection drop-down menu in the menu bar of the document editing tool. When the user selects the fonts, the user can select among the preset number of font information in the font selection drop-down menu, so that the range of the fonts selected by the user is reduced. Therefore, the interest of the user in selecting fonts is improved, and the user experience is improved.
In one embodiment, after S304, it may also be determined whether to obtain font information of all fonts in the cloud font library from the cloud server by detecting whether more cloud font buttons are selected in the font selection drop-down menu. As shown in fig. 4, fig. 4 is a further flowchart of the application of the cloud font display method provided by the embodiment of the present invention to a client terminal communicatively connected to a cloud server, which specifically may include:
S401: detecting whether more cloud font buttons are selected in a font selection drop-down menu;
in one case, the user may click on the view more cloud fonts button to view the font names and font styles of all cloud fonts in the cloud font library.
S402: detecting that more cloud font buttons are selected, and sending a request for acquiring font information of all fonts in a cloud font library to a cloud server;
s403: receiving font information of all fonts issued by a cloud server;
s404: generating a bullet frame for displaying font information;
s405: and adding the font information pages of all fonts into the bullet frame for display.
In one case, font names in the received font information of all fonts are added to the bullet frame in a paginated manner, and a preset number of font names are displayed per page. When the font name is detected to be indicated by a pointer, such as a mouse pointer, the font style corresponding to the font name is displayed, so that a user knows the style of the text edited after the font is selected.
The bullet frame can also be provided with a font search frame, so that a user can input font information in the font search frame to search for a required font, the efficiency of searching for the font is improved, and the searching time is saved.
Applying the embodiment shown in fig. 4, when detecting that the button for viewing more cloud fonts is selected, acquiring font information of all cloud fonts, adding all the font information to the bullet box, and displaying the bullet box to the editing interface. When the user selects the fonts, the user can browse and select the fonts in the bullet frame in a paging way, so that the interest of the user in selecting the fonts is improved, and the user experience is improved.
In one embodiment, after S304, it is detected whether the cloud font name displayed in the font selection drop-down menu is selected, and it is determined whether to acquire font data corresponding to the font name from the cloud server. Fig. 5 is a flowchart of acquiring font data of a displayed cloud font according to an embodiment of the present invention, as shown in fig. 5. Specifically, it may include:
s501: detecting whether a cloud font name displayed in a font selection drop-down menu is selected;
in one case, whether the cloud font name displayed in the font selection drop-down menu is selected or not is detected, which may be whether the font name in the preset number of font information acquired from the cloud server is selected or not after the font selection button is selected, or whether the font name in the preset number of font information acquired from the cloud server is selected or not after the cloud font display switching button is selected; it is also possible to detect whether or not the font names displayed in the bullet box displaying all the font information are selected.
S502: when the font name displayed in the font selection drop-down menu is detected to be selected, a request for acquiring font data corresponding to the font name is sent to the cloud server;
in one case, when it is detected that a font name displayed in a font selection drop-down menu is selected, or when it is detected that a font name in a preset number of font information acquired from a cloud server after a cloud font display switching button is selected, or when it is detected that font names displayed in a bullet box displaying all font information are selected, a request for acquiring font data corresponding to the font names is sent to the cloud server.
S503: receiving font data corresponding to the font name issued by the cloud server;
s504: and storing the acquired font data corresponding to the font name.
By applying the embodiment shown in fig. 5, whether the cloud font name is selected is detected, and if so, font data corresponding to the selected cloud font name is acquired from the cloud server and stored. When a user selects a certain font name, the font data corresponding to the font name is stored, so that the memory space occupied by the local disk due to the storage of all cloud font data is reduced, and the memory space concern of the user for the font data is reduced. Therefore, the interest of the user in selecting fonts is improved, and the user experience is improved.
As shown in fig. 6, the present invention also provides a schematic diagram of font display in font selection, and when a user clicks a font selection button, four font names are displayed; when the user clicks the "change to change" button, that is, clicks the cloud font display switching button, yun Ziti displays another four font names different from the four currently displayed names in a column; when a user selects one of the currently displayed font names, such as a sharp character Yun Ziku Wei Ti 1.0, the font data corresponding to the font name is stored in a local disk for the user to use; when the user selects the 'view more cloud fonts' button, a popup frame capable of displaying all cloud font information is popped up for the user to browse and select fonts.
The invention also provides a flow chart of the cloud font display method applied to the cloud server, as shown in fig. 7, specifically, the method may include:
s701: receiving a request for acquiring cloud font information; the request is: a request for acquiring cloud font information sent by a client;
s702: randomly acquiring font information of a preset number of fonts in a cloud font library;
s703: and transmitting the acquired font information of the preset number of fonts to the client.
By applying the embodiment shown in fig. 7, a request for acquiring cloud font information is received, and a preset number of font information is randomly acquired and sent to a client, so that a user selects among the preset number of font information which is randomly acquired when selecting a font, and the font selection range is reduced. Therefore, the interest of the user in selecting fonts is improved, and the user experience is improved.
In an embodiment, the invention also provides another flow chart of the cloud font display method applied to the cloud server, as shown in fig. 8, in the embodiment, each font in the cloud font library is numbered; each font corresponds to a digital number to randomly acquire a preset number of fonts, and after receiving a request for acquiring the font data, the font data is issued to a client for storage. Specifically, it may include:
s801: receiving a request for acquiring cloud font information;
in one case, the received request may be a request for receiving and acquiring font information of a preset number of fonts in the cloud, or may be a request for receiving and acquiring font information of all fonts in a cloud font library.
When a request sent by a client after detecting that a font selection button or a cloud font display switching button is selected is received, acquiring font information of a preset number of fonts; and when receiving a request sent by the client after detecting that more font buttons are selected, acquiring font information of all fonts in the cloud font library.
S802: randomly acquiring a preset number of digits, and determining fonts corresponding to the preset number of digits as randomly acquired preset number of fonts;
in one case, after receiving a request for acquiring font information of a preset number of fonts, randomly acquiring the preset number of fonts; after receiving the request for acquiring the font information of all fonts in the cloud font library, the font information of the fonts corresponding to all the digital numbers can be acquired.
S803: acquiring font information of a preset number of fonts to obtain the font information of the preset number of fonts;
under one condition, randomly acquiring a preset number of fonts to obtain preset number of font information; and acquiring all fonts in the cloud font library to obtain font information of all fonts.
S804: the acquired font information of the preset number of fonts is issued to the client;
in one case, the acquired preset number of font information may be issued to the client, or all the acquired font information may be issued to the client.
S805: receiving a request for acquiring font data corresponding to a cloud font name; the request is: after detecting that the cloud font name displayed in the font setting drop-down menu is selected, the client sends a request for acquiring font data corresponding to the cloud font name;
S806: acquiring font data corresponding to font names in a cloud font library;
s807: and transmitting the acquired font data to the client.
In one case, the acquired font data is issued to the client so that the client stores the font data, and the stored font data is used when editing the document.
By applying the embodiment shown in fig. 8, the preset number of font information is randomly acquired and sent to the client for display, and the font data corresponding to the selected cloud font name is acquired and sent to the client for storage. When the user selects the fonts, the font data can be selected from the preset number of font information which is randomly acquired, so that the range of the fonts selected by the user is reduced, and simultaneously, the font data corresponding to the font names are issued to enable the client to store, so that the memory space occupied by the local disk due to the storage of a large amount of cloud font data is reduced. Therefore, the interest of the user in selecting fonts is improved, and the user experience is improved.
Corresponding to the method embodiment described in fig. 2, the embodiment of the invention also provides a schematic structural diagram of the application of the display device of the cloud font to the client communicatively connected to the cloud server, as shown in fig. 9. May include:
A first sending module 901, configured to send a request for obtaining cloud font information;
the first receiving module 902 is configured to receive font information of a preset number of fonts issued by the cloud server; the preset number of fonts is as follows: the cloud server randomly acquires fonts from a cloud font library;
the first display module 903 is configured to display the received preset number of font information for a user to select.
As an embodiment, the apparatus may further include:
a first detection module (not shown in fig. 9) for detecting whether a font selection button in a menu bar of the document editing tool is selected before a request for acquiring cloud font information is sent; and if so, triggering the first sending module to send a request for acquiring cloud font information.
As an embodiment, the first display module 903 is specifically configured to display the received preset number of font information in a font selection drop-down menu in a menu bar of the document editing tool.
As an embodiment, the apparatus may further include:
a second detecting module (not shown in fig. 9) for detecting whether a cloud font display switching button in the font selection drop-down menu is selected after the step of displaying the received preset number of font information in the font selection drop-down menu in the document editing tool menu bar;
A second sending module (not shown in fig. 9) configured to detect that a cloud font display switching button in a font selection drop-down menu is selected, and send a request for obtaining font information of a preset number of fonts in the Yun Ziti library to the cloud server;
a second receiving module (not shown in fig. 9) configured to receive font information of a preset number of fonts issued by the cloud server;
a second display module (not shown in fig. 9) for displaying the font information of the preset number of fonts in a font selection drop-down menu in the document editing tool menu bar.
As an embodiment, the apparatus may further include:
a third detecting module (not shown in fig. 9) for detecting whether a more cloud font button is selected in the font selection drop-down menu after the step of displaying the received preset number of font information in the font selection drop-down menu in the document editing tool menu bar;
a third sending module (not shown in fig. 9) configured to send a request to the cloud server to obtain font information of all fonts in the Yun Ziti library after detecting that a button for viewing more cloud fonts in a font selection drop-down menu is selected;
A third receiving module (not shown in fig. 9) configured to receive font information of all fonts issued by the cloud server;
a generating module (not shown in fig. 9) for generating a bullet box for displaying font information;
and a third display module (not shown in fig. 9) for adding the font information pages of all fonts to the bullet frame for display.
As an embodiment, the apparatus may further include:
a fourth detection module (not shown in fig. 9) for detecting whether a cloud font name displayed in the font selection drop-down menu is selected after displaying the received preset number of font information in the font selection drop-down menu in the document editing tool menu bar;
a fourth sending module (not shown in fig. 9) configured to detect that a cloud font name displayed in the font selection drop-down menu is selected, and send a request for obtaining font data corresponding to the cloud font name to the cloud server;
a fourth receiving module (not shown in fig. 9) configured to receive font data corresponding to the cloud font name issued by the cloud server;
and a storage module (not shown in fig. 9) for storing the acquired font data corresponding to the cloud font name.
By applying the embodiment shown in fig. 9, a request for acquiring the cloud font information is sent, and the preset number of font information randomly acquired by the cloud server is received and displayed. When the user selects the fonts, the font information can be selected from the preset number of currently displayed fonts, so that the range of the fonts selected by the user is reduced. Therefore, the interest of the user in selecting fonts is improved, and the user experience is improved.
Further, corresponding to the method embodiment described in fig. 7, the embodiment of the present invention further provides a schematic structural diagram of the application of the display device of the cloud font to the cloud server communicatively connected to the client, as shown in fig. 10. The apparatus may include:
a fourth receiving module 1001, configured to receive a request for acquiring cloud font information; the request is: a request for acquiring cloud font information sent by a client;
the acquiring module 1002 is configured to randomly acquire font information of a preset number of fonts in a cloud font library;
and the issuing module 1003 is configured to issue the acquired font information of the preset number of fonts to the client.
By applying the embodiment shown in fig. 10, a request for acquiring cloud font information is received, and a preset number of font information is randomly acquired and sent to a client, so that a user selects among the preset number of font information which is randomly acquired when selecting a font, and the font selection range is reduced. Therefore, the interest of the user in selecting fonts is improved, and the user experience is improved.
In yet another embodiment of the present invention, a computer readable storage medium is provided, where instructions are stored, which when executed on a computer, cause the computer to perform the method for displaying a cloud font according to any of the above embodiments.
In yet another embodiment of the present invention, a computer program product containing instructions that, when executed on a computer, cause the computer to perform the method for displaying a cloud font according to any of the above embodiments is also provided.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the apparatus embodiments, the device embodiments, the computer storage medium embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (8)

1. The display method of the cloud fonts is characterized by being applied to a client in communication connection with a cloud server, and comprises the following steps:
sending a request for acquiring cloud font information;
receiving font information of a preset number of fonts issued by the cloud server; the preset number of fonts is as follows: the cloud server randomly acquires fonts from a cloud font library;
displaying the received preset number of font information in a font selection drop-down menu in a menu bar of a document editing tool;
after the step of displaying the received preset number of font information in the font selection drop-down menu in the document editing tool menu bar, further comprising:
detecting whether a cloud font display switching button in a font selection drop-down menu is selected; if yes, sending a request for acquiring font information of a preset number of fonts in the Yun Ziti library to the cloud server; receiving font information of a preset number of fonts issued by the cloud server; displaying the font information of the preset number of fonts into a font selection drop-down menu in a menu bar of a document editing tool;
Or detecting whether more cloud font buttons are selected in a font selection drop-down menu; if yes, sending a request for acquiring font information of all fonts in the Yun Ziti library to the cloud server; receiving font information of all fonts issued by the cloud server; generating a bullet frame for displaying font information; paging the font information of all fonts to the bullet frame for display;
or detecting whether the cloud font name displayed in the font selection drop-down menu is selected; if yes, sending a request for acquiring font data corresponding to the cloud font name to the cloud server; receiving font data corresponding to the cloud font name issued by the cloud server; and storing the acquired font data corresponding to the cloud font name.
2. The method of claim 1, further comprising, prior to the step of sending the request to obtain cloud font information:
detecting whether a font selection button in a menu bar of a document editing tool is selected; and if so, executing the step of sending the request for acquiring the cloud font information.
3. The display method of the cloud fonts is characterized by being applied to a cloud server in communication connection with a client, and the method comprises the following steps:
Receiving a request for acquiring cloud font information; the request is: a request for acquiring cloud font information sent by a client;
randomly acquiring font information of a preset number of fonts in a cloud font library;
the acquired font information of the preset number of fonts is issued to the client;
the method further comprises the steps of:
receiving a request for acquiring font information of a preset number of fonts in the Yun Ziti library; the request is: after detecting that a cloud font display switching button in a font selection drop-down menu is selected, a client sends a request for acquiring font information of a preset number of fonts in a Yun Ziti library; acquiring font information of a preset number of fonts in a cloud font library; the acquired font information of the preset number of fonts is issued to the client;
or, receiving a request for acquiring font information of all fonts in the Yun Ziti library; the request is: after detecting that more cloud font buttons in a font selection drop-down menu are selected, the client sends a request for acquiring font information of all fonts in the Yun Ziti library; acquiring font information of all fonts in a cloud font library; transmitting the acquired font information of all fonts to a client;
Or, receiving a request for acquiring font data corresponding to the cloud font name; the request is: after detecting that a cloud font name displayed in a font selection drop-down menu is selected, a client sends a request for acquiring font data corresponding to the cloud font name; acquiring font data corresponding to the cloud font name in a cloud font library; and transmitting the acquired font data to a client.
4. The method of claim 3, wherein the step of,
numbering each font in the cloud font library; each font corresponds to a digital number;
the step of randomly acquiring font information of a preset number of fonts in a cloud font library comprises the following steps: randomly acquiring a preset number of digits, and determining fonts corresponding to the preset number of digits as randomly acquired preset number of fonts;
and acquiring the font information of the preset number of fonts to obtain the font information of the preset number of fonts.
5. A display device of cloud fonts, which is applied to a client in communication connection with a cloud server, the device comprising:
the first sending module is used for sending a request for acquiring cloud font information;
the first receiving module is used for receiving font information of a preset number of fonts issued by the cloud server; the preset number of fonts is as follows: the cloud server randomly acquires fonts from a cloud font library;
The first display module is used for displaying the received preset number of font information in a font selection drop-down menu in a menu bar of the document editing tool;
the device further comprises:
the second detection module is used for detecting whether a cloud font display switching button in the font selection drop-down menu is selected or not after the step of displaying the received preset number of font information in the font selection drop-down menu in the menu bar of the document editing tool; the second sending module is used for detecting that a cloud font display switching button in a font selection drop-down menu is selected and sending a request for acquiring font information of a preset number of fonts in the Yun Ziti library to the cloud server; the second receiving module is used for receiving font information of a preset number of fonts issued by the cloud server; the second display module is used for displaying the font information of the preset number of fonts into a font selection drop-down menu in a menu bar of the document editing tool;
or, a third detection module, configured to detect whether more cloud font buttons are selected in the font selection drop-down menu after the step of displaying the received preset number of font information in the font selection drop-down menu in the document editing tool menu bar; the third sending module is used for sending a request for acquiring font information of all fonts in the Yun Ziti library to the cloud server after detecting that more cloud font buttons are selected in the font selection drop-down menu; the third receiving module is used for receiving font information of all fonts issued by the cloud server; the generation module is used for generating a bullet frame for displaying font information; the third display module is used for adding the font information pages of all fonts into the bullet frame for display;
Or, a fourth detection module, configured to detect, in the font selection drop-down menu in the document editing tool menu bar, whether a cloud font name displayed in the font selection drop-down menu is selected after displaying the received preset number of font information; a fourth sending module, configured to detect that a cloud font name displayed in the font selection drop-down menu is selected, and send a request for obtaining font data corresponding to the cloud font name to the cloud server; a fourth receiving module, configured to receive font data corresponding to the cloud font name issued by the cloud server; and the storage module is used for storing the acquired font data corresponding to the cloud font name.
6. The apparatus of claim 5, wherein the apparatus further comprises:
the first detection module is used for detecting whether a font selection button in a menu bar of the document editing tool is selected before a request for acquiring cloud font information is sent; and if so, triggering the first sending module to send a request for acquiring cloud font information.
7. A display device of cloud fonts, which is applied to a cloud server communicatively connected to a client, the device comprising:
The request receiving module is used for receiving a request for acquiring cloud font information; the request is: a request for acquiring cloud font information sent by a client;
the acquisition module is used for randomly acquiring font information of a preset number of fonts in the cloud font library;
the issuing module is used for issuing the acquired font information of the preset number of fonts to the client;
the apparatus further comprises:
the processing module is used for receiving a request for acquiring font information of a preset number of fonts in the Yun Ziti library; the request is: after detecting that a cloud font display switching button in a font selection drop-down menu is selected, a client sends a request for acquiring font information of a preset number of fonts in a Yun Ziti library; acquiring font information of a preset number of fonts in a cloud font library; the acquired font information of the preset number of fonts is issued to the client;
or, receiving a request for acquiring font information of all fonts in the Yun Ziti library; the request is: after detecting that more cloud font buttons in a font selection drop-down menu are selected, the client sends a request for acquiring font information of all fonts in the Yun Ziti library; acquiring font information of all fonts in a cloud font library; transmitting the acquired font information of all fonts to a client;
Or, receiving a request for acquiring font data corresponding to the cloud font name; the request is: after detecting that a cloud font name displayed in a font selection drop-down menu is selected, a client sends a request for acquiring font data corresponding to the cloud font name; acquiring font data corresponding to the cloud font name in a cloud font library; and transmitting the acquired font data to a client.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of any of claims 1-2 or claims 3-4.
CN201811358187.7A 2018-11-15 2018-11-15 Cloud font display method and device Active CN111259621B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811358187.7A CN111259621B (en) 2018-11-15 2018-11-15 Cloud font display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811358187.7A CN111259621B (en) 2018-11-15 2018-11-15 Cloud font display method and device

Publications (2)

Publication Number Publication Date
CN111259621A CN111259621A (en) 2020-06-09
CN111259621B true CN111259621B (en) 2024-03-22

Family

ID=70950085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811358187.7A Active CN111259621B (en) 2018-11-15 2018-11-15 Cloud font display method and device

Country Status (1)

Country Link
CN (1) CN111259621B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629917A (en) * 2012-03-15 2012-08-08 齐凡 Personalized information transmission method and transmission system
CN102662920A (en) * 2012-03-15 2012-09-12 齐凡 Method and system for transmitting text

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10572575B2 (en) * 2014-09-15 2020-02-25 Oracle International Corporation System independent font rendering

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102629917A (en) * 2012-03-15 2012-08-08 齐凡 Personalized information transmission method and transmission system
CN102662920A (en) * 2012-03-15 2012-09-12 齐凡 Method and system for transmitting text

Also Published As

Publication number Publication date
CN111259621A (en) 2020-06-09

Similar Documents

Publication Publication Date Title
CN108717437B (en) Search result display method and device and storage medium
CN105824830B (en) Method, client and equipment for displaying page
CN104243273A (en) Method and device for displaying information on instant messaging client and information display system
CN104899220A (en) Application program recommendation method and system
CN107832052B (en) Method and device for displaying preview page, storage medium and electronic equipment
CN106611065B (en) Searching method and device
CN105630792B (en) Information display and push method and device
CN111414727B (en) Editing method and device for PDF document header footer and electronic equipment
US20160328110A1 (en) Method, system, equipment and device for identifying image based on image
CN107391534B (en) Page display method, page file return method, page display device, page file return device and computer storage medium
CN110968314A (en) Page generation method and device
CN107133204B (en) Terminal shortcut input method
CN108255898B (en) Page display method and device
CN106020616B (en) Method and device for updating desktop quick link icon
CN111259621B (en) Cloud font display method and device
CN104317581B (en) Display method and electronic equipment
CN112070587A (en) Information sharing method and device for virtual article, electronic equipment and storage medium
CN106293671B (en) Method and device for generating component template
CN111367606A (en) Application page display method, device, terminal and medium
CN111428452A (en) Comment data storage method and device
CN111199137A (en) Cloud font loading method and device and electronic equipment
CN111596828B (en) cookie synchronization method, device and computer readable storage medium
CN100592300C (en) Data display method and device
CN109815469B (en) Text editing method, text editing device, medium and electronic equipment
CN113435847A (en) Information display method and device, electronic equipment and 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
GR01 Patent grant
GR01 Patent grant