CN106970799A - Method and electronic equipment for electronic equipment - Google Patents
Method and electronic equipment for electronic equipment Download PDFInfo
- Publication number
- CN106970799A CN106970799A CN201710211757.9A CN201710211757A CN106970799A CN 106970799 A CN106970799 A CN 106970799A CN 201710211757 A CN201710211757 A CN 201710211757A CN 106970799 A CN106970799 A CN 106970799A
- Authority
- CN
- China
- Prior art keywords
- font
- application
- electronic equipment
- configuration
- instruction
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Abstract
The invention provides a kind of method and associated electronic device for electronic equipment.This method includes:Monitor the operation of the application on the electronic equipment;The font for monitoring the electronic equipment is set;If the first application operation of the first font of configuration is detected, and the font of the electronic equipment is arranged to the second font before the described first application operation, generation indicates that the font of the second font described in first application configuration sets instruction;And the font setting instruction is responded, the second font described in first application configuration is set.By the above method and electronic equipment, the font that successful execution application is just capable of without starting electronic equipment updates, and the electronic equipment font for realizing convenience and high-efficiency updates.
Description
Technical field
Present invention relates in general to electronic equipment, more particularly to for the method and electronic equipment for electronic equipment.
Background technology
Nowadays, the font of more and more types be applied to electronic equipment (for example, user equipment of mobile phone etc.) there is provided
Colourful Consumer's Experience.Font is applied into the requirement of the existing solution of electronic equipment after setting font to restart
Electronic equipment, loads set font in the restarting process of electronic equipment.This font plan of establishment causes each setting
The all necessary restarting equipment of font so that user needs prolonged wait, causes use of the user to electronic equipment to bring inconvenience.
Accordingly, it would be desirable to a kind of efficiently convenient font set-up mode so that user can be conveniently set up on electronic equipment
Font.
The content of the invention
In order to solve the above technical problems, the embodiments of the invention provide a kind of method for electronic equipment and a kind of electronics
Equipment.
One aspect of the present invention provides a kind of method for electronic equipment, including:
Monitor the operation of the application on the electronic equipment;
The font for monitoring the electronic equipment is set;
If the first application operation of the first font of configuration were detected, and the electronics would be set before the described first application operation
Standby font is arranged to the second font, and generation indicates that the font of the second font described in first application configuration sets instruction;
And
Respond the font and instruction is set, the second font described in first application configuration is set.
Another aspect of the present invention provides a kind of electronic equipment, including:
Using operational monitoring unit, the operation for monitoring the application on the electronic equipment;
Font sets monitoring unit, and the font for monitoring the electronic equipment is set;
Font sets instruction generation unit, for detecting the first application operation of the first font of configuration and detecting
When the font of the electronic equipment is arranged to the second font before the first application operation, generation indicates that first application is matched somebody with somebody
The font for putting second font sets instruction;And
Font setting unit, sets instruction for responding the font, sets the font of the first application configuration second.
Another aspect of the present invention provides a kind of electronic equipment, including:
Processor;And
Memory, be stored with machine-executable instruction, and the instruction is when being executed by processor so that computing device with
Lower operation:
Monitor the operation of the application on the electronic equipment;
The font for monitoring the electronic equipment is set;
If the first application operation of the first font of configuration were detected, and the electronics would be set before the described first application operation
Standby font is arranged to the second font, and generation indicates that the font of the second font described in first application configuration sets instruction;
Respond the font and instruction is set, the second font described in first application configuration is set.
The operation of such scheme provided in an embodiment of the present invention detection application and based on detecting the operation of application come for should
With new font is set, the font that successful execution application is just capable of without running electronic equipment updates, and realizes convenience and high-efficiency
Electronic equipment font updates.
Brief description of the drawings
For a more complete understanding of the present invention and its advantage, referring now to the following description with reference to accompanying drawing, wherein:
Fig. 1 diagrammatically illustrates the method that the application being used on electronic equipment according to embodiments of the present invention sets font
Outline flowchart;
Fig. 2 diagrammatically illustrates the brief block diagram of the electronic equipment of the font method to set up shown in achievable Fig. 1;
The exemplary timing diagram that Fig. 3 diagrammatically illustrate the font method to set up shown in Fig. 1 one implements;And
Fig. 4 diagrammatically illustrates the brief block diagram of another electronic equipment of the font method to set up shown in achievable Fig. 1.
Embodiment
According to reference to accompanying drawing to the described in detail below of exemplary embodiment of the present, other side of the invention, advantage
It is will become obvious with prominent features for those skilled in the art.
In the present invention, term " comprising " and " containing " and its derivative mean including and it is unrestricted;Term "or" is bag
Containing property, mean and/or.
In this manual, following various embodiments for being used to describe the principle of the invention are explanation, should not be with any
Mode is construed to the scope of limitation invention.Referring to the drawings described below is used to help comprehensive understanding by claim and its equivalent
The exemplary embodiment of the invention that thing is limited.It is described below to help to understand including a variety of details, but these details should
Think what is be merely exemplary.Therefore, it will be appreciated by those of ordinary skill in the art that without departing substantially from scope and spirit of the present invention
In the case of, embodiment described herein can be made various changes and modifications.In addition, for clarity and brevity,
Eliminate the description of known function and structure.In addition, through accompanying drawing, same reference numbers are used for identity function and operation.
Embodiment one
Fig. 1 diagrammatically illustrates the method that the application being used on electronic equipment according to embodiments of the present invention sets font
Outline flowchart.
As shown in figure 1, in step s 110, the operation of the application on monitoring electronic equipment.
In the step s 120, the font of monitoring electronic equipment is set, such as the font renewal, font on electronic equipment are again
Loading etc..
If the first application operation for being configured with the first font is detected, and the electronic equipment before the first application operation
Font be arranged to the second font, then in step s 130, generation indicate first the second font of application configuration font configuration
Instruction.
Then, in step S140, set and instruct in response to font, first the second font of application configuration is set.
By detecting the operation of application and setting such as new font based on the operation of application is detected for application, without
The font renewal that electronic equipment is just capable of successful execution application is run, the electronic equipment font for realizing convenience and high-efficiency updates.
Also there are some on an electronic device may forbid the application of operation (hereinafter referred to as to open when electronic equipment is started shooting
Machine disabling application).Such as when application having can be arranged on start automatic running (or automatic running is set by system).Answer this
Forbid running in start with settable, for example can be by the way that the application be added in the inventory of start disabling application and in start
When forbids being realized using operation in the inventory, and this start is disabled.These applications are because accelerating starting up speed, saving equipment meter
Calculate the reasons such as resource and be prohibited operation when electronic equipment is started shooting.Applied for these start disablings, in electronic equipment for example
When downloading and being set using new font, because the system default of electronic equipment does not broadcast fonts more to these start disablings
Newly, set font can not come into force, and cause these start disabling applications to use set new font.At this
Can only be start disabling application using the application of such scheme, certainly, in other of the present invention in some embodiments of invention
In some embodiments, it can also be not limited to start disabling application, and the font allocation plan, which can also be applied to non-start, to be prohibited
With application (that is, the application for not forbidding operation when electronic equipment starts).Non- start disabling application not only may include in start
Shi Yunhang application, off-duty but the application run when not also being inhibited in start when can also be included in start.
In the embodiment that the first application only includes start disabling application, if detect the first font of configuration first should
With operation, and before the first application operation, the font of electronic equipment is arranged to the second font, then generation indicates that the first application is matched somebody with somebody
The font for putting the second font sets instruction may include:If detecting the first application operation of the first font of configuration, first is determined
Using whether be electronic equipment first kind application, the first kind application be forbid when electronic equipment is started shooting operation application
(or being the application of start disabling);And if it is determined that the first application is the first kind application of electronic equipment, and in electronic equipment
After startup, the font of electronic equipment is arranged to the second font before the first application operation, and this operation of the first application is
First applies the operation first after the startup of electronic equipment, and generation indicates that the font of first the second font of application configuration is set
Instruction.
Although scheme according to embodiments of the present invention to be applied to the application disabled in start in the examples described above, but
Not limited to this of the embodiment of the present invention, but can also be applied to that other any applications of the renewal to font can not be received.
In these embodiments, another processing can be performed for non-start disabling application.If for example, the word of electronic equipment
Body is arranged to the second font, can send the message for indicating that font is set by directly to the Equations of The Second Kind application of electronic equipment, lead to
Know that Equations of The Second Kind is applied and its font is set to the second font, wherein, Equations of The Second Kind application is not forbidden when electronic equipment is started shooting
The application (that is, non-start disabling application) of operation.
Electronic equipment can obtain the inventory of first kind application (application of start disabling) when it runs.The inventory can be used
The inventory for the application for forbidding operation in start that family is set, or electronic equipment system for for example optimizing starting up speed
What is set etc. purpose forbids the inventory of the application of operation, or the inventory obtained by other any modes in start.
In this case, determining whether the first application is that the first kind application of electronic equipment can include:First is received to apply in its operation
When the request message for Request System resource that sends;In response to receiving request message, determine whether the first application is clear at this
Dan Zhong;And if it is determined that first applies in inventory, then the first application is defined as first kind application.
In the case, first the second font of application configuration is set to include:Being sent to the first application is used to assign institute
The assignment messages of resource are asked, wherein, the assignment messages include the instruction to configuring the second font, make it that the first application can nothing
Electronic equipment restarting is needed to realize that font is configured.
It can exist for a variety of concrete methods of realizing for judging whether to change font.In one example, when it is determined that using
During operation (for example, when receiving the message of request resource), it may determine that whether the application is clear in start disabling application first
Dan Zhong.If it is determined that runs applies in disabling application inventory of starting shooting, then can determine that run application is to start shooting to disable to answer
With, and then can determine whether whether this application operation is being transported in electronic equipment postrun first time for start disabling application
OK.If it is determined that this is being run in electronic equipment postrun first time for start disabling application using operation, judge
It there occurs after electronic equipment operation and before the application operation event for changing font.In the event of the thing for changing font
Part, then can determine whether to need to change font for the application.In any of the above-described judgement, if result is negative, termination is sentenced
The disconnected process for whether changing font.
And in another example, can judge whether to change font by different orders.For example, recordable font updates
The generation of event.When it is determined that having using running, if it is determined that sent out after electronic equipment start and before the application operation
The event for changing font has been given birth to, then has judged the application whether in start disabling application inventory.If it is determined that runs applies
Start is disabled in application inventory, it is determined that the application run is start disabling application, and then can determine whether this application fortune
Whether row is to run the first time after electronic equipment start that start disabling is applied.If it is determined that this is this using operation
The first time operation after electronic equipment start of start disabling application, then can determine whether to need to change font for the application.
In any of the above-described judgement, if result is negative, the process for judging whether to change font is terminated.
In certain embodiments, generation indicates that the font of first the second font of application configuration sets instruction to include:
First font is compared with the second font;And when the first font is different from the second font, generation indicates that first applies
The font for configuring the second font is set.This is particularly useful in the case of some system exceptions.For example, it may be possible to due to some originals
Because the font file for causing electronic equipment to use is damaged, and need to repair damaged font text by updating font file
Part.In the case, it is also possible to disabling of starting shooting program it is upper once enable when use current partial font file damaged and
The font repaired by update mode.These, are if determining that the two is identical by comparing the first font and the second font,
First the second font of application configuration can also be not provided with.Certainly, in the case of the first font and the second font identical, still may be used
To set first the second font of application configuration, that is, carry out font renewal.
First font can first apply the font used before its this operation.
The character not exclusively corresponding situation that the first font and the second font are supported is there may be in practical operation.Example
Such as the first font can support character a, but the second font does not support character a.In the case, if the first application configuration
Two fonts, then may cause mess code or incompatible situation when showing character a.To solve the problem, some realities of the invention
The character that applying example can also include by the first font with being related separately in the second font is compared.If existed in the first font
The character not having in second font, then can retain its font format in the first font for the character.And the present invention's
In other embodiments, first applies after the second font is configured with, and can still retain the first font.That is, for first
For, it can retain the first font and the second font simultaneously.If the character to be shown obtains the support of the second font,
The font format in the second font can be then used to show the character, otherwise, the character can continue to use the font in the first font
Form.Certainly, this is only the scheme of embodiment and the example that provides to illustrate the invention.In some other embodiment, also may be used
In the presence of the other modes using the first font and the second font, such as some characters preferably use the form in the first font and another
Some characters preferably use form in the second font etc., and the present invention is not by the specifically used side of the first font and the second font
The limitation of formula.
In some embodiments of the invention, once start disabling application has been run, shut down in electronic equipment or it is
Before system is restarted, it can treat the application of start disabling as non-start disabling application, that is, can be straight when next font is changed
Connect the start disabling application run to this after electronic equipment startup and send the message for indicating that font is set, notify it by font
It is set to the font newly changed.
Embodiment two
Embodiments in accordance with the present invention additionally provide a kind of electronic equipment.Fig. 2 is diagrammatically illustrated shown in achievable Fig. 1
The brief block diagram of the electronic equipment of font method to set up.
As shown in Fig. 2 the electronic equipment includes:
Using operational monitoring unit 210, the operation for monitoring the application on electronic equipment;
Font sets monitoring unit 220, and the font for monitoring electronic equipment is set;
Font sets instruction generation unit 230, for detecting the first application operation of the first font of configuration and detecting
When being arranged to the second font to the font in the first preceding electronic equipment of application operation, generation indicates first the second word of application configuration
The font of body sets instruction;And
Font setting unit 240, sets instruction for responding font, sets first the second font of application configuration.
By detecting the operation of application and setting such as new font based on the operation of application is detected for application, without
The font renewal that electronic equipment is just capable of successful execution application is run, above-mentioned electronic equipment realizes the electronic equipment of convenience and high-efficiency
Font updates.
The first above-mentioned application can only be start disabling application, but it is not limited to start disabling application, and the font is matched somebody with somebody
The scheme of putting can also be applied to non-start disabling application.
In the first above-mentioned application is only the embodiment of start disabling application, the electronic equipment shown in Fig. 2 can also be wrapped
Include:Application type determining unit 250, for detecting the first application of the first font of configuration using operational monitoring unit 210
The font that operation and font set monitoring unit 220 to detect the electronic equipment before the first application operation is arranged to the second font
When, determine first application whether be electronic equipment first kind application, the first kind application is prohibited when electronic equipment is started shooting
The application (or being the application of start disabling) only run.If application type determining unit 250 determines that the first application is the first kind
Using then font sets instruction generation unit 230 can be used for:Determine that the first application is electronics in application operational monitoring unit 210
The first kind application of equipment and this operation of the first application is first to apply the operation first after the startup of electronic equipment,
And font sets monitoring unit 220 to determine after electronic equipment starts, the font quilt of electronic equipment before the first application operation
When being set to the second font, generation indicates that the font of first the second font of application configuration sets instruction.
In these embodiments, another processing can be performed for non-start disabling application.If for example, the word of electronic equipment
Body is arranged to the second font, and font sets instruction generation unit 230 to be sent out by directly to the Equations of The Second Kind application of electronic equipment
Send the message for indicating that font is set, notify Equations of The Second Kind using its font is set into the second font, wherein, Equations of The Second Kind application be
Electronic equipment does not forbid the application (that is, non-start disabling application) of operation when starting shooting.
Electronic equipment can obtain the inventory of first kind application (application of start disabling) when it runs.The inventory can be used
The inventory for the application for forbidding operation in start that family is set, or electronic equipment system for for example optimizing starting up speed
What is set etc. purpose forbids the inventory of the application of operation, or the inventory obtained by other any modes in start.Electricity
Sub- equipment may include memory 260, and the inventory is storable in memory 260 to call at any time.In the case, using class
Type determining unit 250 can be used for:Receive first and apply the request message for Request System resource sent when it runs;
In response to receiving request message, determine the first application whether in the inventory;And if it is determined that first applies in inventory, then
First application is defined as first kind application.
In the case, font setting unit 240 can be used for:Send to be used to assign to the first application and ask resource
Assignment messages, wherein, the assignment messages include the instruction to configuring the second font, make it that the first application can be without electronic equipment
Restart to realize that font is configured.
It can exist for a variety of specific implementations for judging whether to change font.In one example, when application operation
Monitoring unit 210 determines (for example, when receiving the message of request resource), first application type determining unit during application operation
Whether 250 may determine that the application in start disabling application inventory.If it is determined that applying for operation is clear in start disabling application
Dan Zhong, then can determine that run application is start disabling application, and then can determine whether this using operational monitoring unit 210
Whether it is being run in electronic equipment postrun first time for start disabling application using operation.If it is determined that this application fortune
Row is being run in electronic equipment postrun first time for start disabling application, and font sets monitoring unit 220 can determine whether
It there occurs after electronic equipment operation and before the application operation event for changing font.In the event of the thing for changing font
Part, then can determine whether to need to change font for the application.In any of the above-described judgement, if result is negative, termination is sentenced
The disconnected process for whether changing font.
And in another example, can judge whether to change font by different orders.For example, font sets monitoring single
The generation of the recordable font update event of member 220.When application operational monitoring unit 210 determines to have using running, if font
Set monitoring unit 220 to determine after electronic equipment is started shooting and the event for changing font there occurs before application operation,
Then whether application type determining unit 250 can determine whether the application in start disabling application inventory.If it is determined that the application of operation
In start disables application inventory, it is determined that the application run is start disabling application, and is then applying operational monitoring list
Member 210 can determine whether whether this application operation is that the start disables the first time operation after electronic equipment start applied.Such as
Fruit determines that this using the first time operation after electronic equipment start that operation is start disabling application, then can determine whether needs
Font is changed for the application.In any of the above-described judgement, if result is negative, terminates and judge whether to change font
Process.
In certain embodiments, electronic equipment can also include font comparing unit 270, for by the first font and second
Font is compared.When the first font is different from the second font, font sets instruction generation unit 230 to can be used for generation to indicate
The font of first the second font of application configuration is set.This is particularly useful in the case of some system exceptions.For example, it may be possible to by
The font file for causing electronic equipment to use in some reasons is damaged, and needs to repair what is damaged by updating font file
Font file.In the case, it is also possible to disabling of starting shooting program it is upper once enable when used current partial font file
The font damaged and repaired by update mode.These, if determining two by comparing the first font and the second font
Person is identical, can also be not provided with first the second font of application configuration.Certainly, in the first font and the second font identical situation
Under, first the second font of application configuration still can be set, that is, carry out font renewal.
First font can first apply the font used before its this operation.
The character not exclusively corresponding situation that the first font and the second font are supported is there may be in practical operation.Example
Such as the first font can support character a, but the second font does not support character a.In the case, if the first application configuration
Two fonts, then may cause mess code or incompatible situation when showing character a.To solve the problem, in some of the present invention
In embodiment, the character that font comparing unit 270 can be additionally used in by the first font with being related separately in the second font is compared.
If there is the character not having in the second font in the first font, its font in the first font can be retained for the character
Form.And in other embodiments of the present invention, first applies after the second font is configured with, and can still retain the first word
Body.That is, for first applies, it can retain the first font and the second font simultaneously.If the character to be shown is obtained
To the support of the second font, then the font format in the second font can be used to show the character, otherwise, the character can be continued to use
Font format in first font.Certainly, this is only the scheme of embodiment and the example that provides to illustrate the invention.Other one
In a little embodiments, the other modes using the first font and the second font also may be present, such as some characters preferably use first
Form in font and other characters preferably use form in the second font etc., and the present invention is not by the first font and second
The limitation of the specifically used mode of font.
In some embodiments of the invention, once start disabling application has been run, shut down in electronic equipment or it is
Before system is restarted, it can treat the application of start disabling as non-start disabling application, that is, the font when next font is changed
The start disabling application that set instruction generation unit 230 directly can run to this after electronic equipment startup, which is sent, indicates font
The message of setting, notifies its font for being set to newly change by font.
Embodiment three
The exemplary timing diagram that Fig. 3 diagrammatically illustrate the font method to set up shown in Fig. 1 one implements.Need
Illustrate, illustrated in fig. 3 is only a specific example of the technical scheme for implementing the embodiment of the present invention, the embodiment of the present invention
Not limited to this.
In the example depicted in fig. 3, deposit path to deposit the font file to be updated by newly-increased font file, for example
There may be the font file of renewal for font.It is possible thereby to which so that the font not carried to system deposits the font file under path
(for example, mistake covering etc.) is interfered, the security of font is enhanced.But in some other example, can not also increase
Plus font file storage path, and the font file that will be updated is stored under the font storing directory that system is carried.The present invention
Path is not deposited specifically by font file to be limited.
As shown in figure 3, the font switching service (or service of other any management fonts) in electronic equipment will be changed
Font file be placed under the path (font that new path or system is carried storage path) specified, it is set to preserve
Font, and request configuration change (request configuration change) message is sent to system, inform newly-installed
Font.Configuration of the system update on the Font Change, and (that is, non-start is prohibited to the application for not forbidding running in start
With application) send configuration change (configuration change) message, it is newly to set by its Font Change to notify these applications
The font put.
Application (that is, start disabling application) for forbidding operation in start, because system default is not by configuration change
Message is sent to start disabling application, and the font that system is newly configured can not be applied to these applications.To solve the problem, this hair
The technical scheme of bright embodiment carries out the configuration of corresponding font in these application operations.As shown in figure 3, start disabling is applied
(resource request) message can be asked during operation to system transmission resources, to ask the resource required when it runs.
System judges whether to need to be directed to the application more new font in response to receiving the message.Newly configure and protect if it is required, then reading
The font file deposited, and ask the assignment messages of resource to include to answer for assigning what is sent to start disabling application
The instruction of font.Then, its font is configured to indicated font according to the instruction by the application of start disabling.
A variety of methods that system is used to judge whether more new font may be present.In one example, when it is determined that application operation
When (for example, receive request resource message when), system may determine that first the application whether start disabling application clearly
Dan Zhong.If it is determined that runs applies in disabling application inventory of starting shooting, then can determine that run application is to start shooting to disable to answer
With, and then can determine whether whether this application operation is being transported in electronic equipment postrun first time for start disabling application
OK.If it is determined that this is being run in electronic equipment postrun first time for start disabling application using operation, judge
The event of more new font is there occurs after electronic equipment operation and before application operation.In the event of the more thing of new font
Part, then system can determine whether to need to be directed to the application more new font.In any of the above-described judgement, if result is negative, eventually
Only judge whether the process of more new font.
And in another example, system can record the generation of font update event.When it is determined that having using running, if really
Be scheduled on after electronic equipment start and the event of more new font there occurs before the application is run, then judge the application whether
In start disabling application inventory.If it is determined that runs applies in start disabling application inventory, it is determined that the application run
It is start disabling application, and is then can determine whether whether this application operation is being started shooting in electronic equipment for start disabling application
First time operation afterwards.If it is determined that this is using the first time after electronic equipment start that operation is start disabling application
Run, then system can determine whether to need to be directed to the application more new font.In any of the above-described judgement, if result is negative,
Terminate the process for judging whether more new font.
It should be noted that the above method is only for judging whether to need the example of the method for more new font, this area
Technical staff can also be the application of start disabling and there is any side for the font for needing to update using the application that can determine whether operation
Method, these methods should be within protection scope of the present invention.
Example IV
Embodiments in accordance with the present invention additionally provide a kind of electronic equipment.Fig. 4 is diagrammatically illustrated shown in achievable Fig. 1
The brief block diagram of another electronic equipment of font method to set up.
As shown in figure 4, the electronic equipment includes the memory 520 of processor 510 and such as readable storage medium storing program for executing.Storage
Device 520 is stored with machine-executable instruction 521A, 521B etc..521A, 521B etc. are instructed when being performed by processor 510 so that
Processor 510 performs following operation:
Monitor the operation of the application on electronic equipment;
The font for monitoring electronic equipment is set;
If the first application operation of the first font of configuration is detected, and in the first font using electronic equipment before running
It is arranged to the second font, generation indicates that the font of first the second font of application configuration sets instruction;
Respond font and instruction is set, first the second font of application configuration is set.
By detecting the operation of application and setting such as new font based on the operation of application is detected for application, without
The font renewal that electronic equipment is just capable of successful execution application is run, the electronic equipment font for realizing convenience and high-efficiency updates.
The first above-mentioned application can be start disabling application, but it is not limited to start disabling application, font configuration
Scheme can also be applied to non-start disabling application.
In the embodiment that the first application only includes start disabling application, the memory 520 shown in Fig. 4, which is also stored, makes processing
Device 510 performs the instruction operated below:If the first application operation of the first font of configuration is detected, and in the first application operation
The font of preceding electronic equipment is arranged to the second font, then generation indicates that the font of first the second font of application configuration sets instruction
It may include:If detecting the first application operation of the first font of configuration, determine whether the first application is the first of electronic equipment
Class application, the first kind application is the application (or being the application of start disabling) for forbidding operation when electronic equipment is started shooting.Deposit
Reservoir 520, which is also stored, makes processor 510 perform the instruction operated below:If it is determined that the first application is the first kind of electronic equipment
Using, and after electronic equipment startup, the font of electronic equipment is arranged to the second font, and first before the first application operation
This operation of application is first to apply the operation first after the startup of electronic equipment, and generation indicates the first application configuration the
The font of two fonts sets instruction.
In these embodiments, another processing can be performed for non-start disabling application.If for example, the word of electronic equipment
Body is arranged to the second font, can send the message for indicating that font is set by directly to the Equations of The Second Kind application of electronic equipment, lead to
Know that Equations of The Second Kind is applied and its font is set to the second font, wherein, Equations of The Second Kind application is not forbidden when electronic equipment is started shooting
The application (that is, non-start disabling application) of operation.
Electronic equipment can obtain the inventory of first kind application (application of start disabling) when it runs.The inventory can be used
The inventory for the application for forbidding operation in start that family is set, or electronic equipment system for for example optimizing starting up speed
What is set etc. purpose forbids the inventory of the application of operation, or the inventory obtained by other any modes in start.
Processor 510 is set to perform the instruction operated below in this case, memory 520 is also stored:First is received to apply when it runs
The request message for Request System resource sent;In response to receiving request message, determine the first application whether in the inventory
In;And if it is determined that first applies in inventory, then the first application is defined as first kind application.
In the case, memory 520, which is also stored, makes processor 510 perform the instruction operated below:Sent out to the first application
The assignment messages that resource is asked for assigning are sent, wherein, the assignment messages include the instruction to configuring the second font, to cause
First application can realize that font is configured without electronic equipment restarting.
It can exist for a variety of concrete methods of realizing for judging whether to change font.In one example, when it is determined that using
During operation (for example, when receiving the message of request resource), it may determine that whether the application is clear in start disabling application first
Dan Zhong.If it is determined that runs applies in disabling application inventory of starting shooting, then can determine that run application is to start shooting to disable to answer
With, and then can determine whether whether this application operation is being transported in electronic equipment postrun first time for start disabling application
OK.If it is determined that this is being run in electronic equipment postrun first time for start disabling application using operation, judge
It there occurs after electronic equipment operation and before the application operation event for changing font.In the event of the thing for changing font
Part, then can determine whether to need to change font for the application.In any of the above-described judgement, if result is negative, termination is sentenced
The disconnected process for whether changing font.
And in another example, can judge whether to change font by different orders.For example, recordable font updates
The generation of event.When it is determined that having using running, if it is determined that sent out after electronic equipment start and before the application operation
The event for changing font has been given birth to, then has judged the application whether in start disabling application inventory.If it is determined that runs applies
Start is disabled in application inventory, it is determined that the application run is start disabling application, and then can determine whether this application fortune
Whether row is to run the first time after electronic equipment start that start disabling is applied.If it is determined that this is this using operation
The first time operation after electronic equipment start of start disabling application, then can determine whether to need to change font for the application.
In any of the above-described judgement, if result is negative, the process for judging whether to change font is terminated.
It is above-mentioned to judge whether that the various schemes for changing font perform the phase in memory 520 by processor 510
It should instruct to realize.
In certain embodiments, memory 520, which is also stored, makes processor 510 perform the instruction operated below:By the first word
Body is compared with the second font;And when the first font is different from the second font, generation indicates the first application configuration second
The font of font is set.This is particularly useful in the case of some system exceptions.For example, it may be possible to cause electricity for some reason
The font file that sub- equipment is used is damaged, and needs to repair damaged font file by updating font file.In this feelings
Under condition, it is also possible to disabling of starting shooting program it is upper once enable when use current partial font file to damage and by renewal side
Formula is come the font repaired.These, if determining that the two is identical by comparing the first font and the second font, can not also set
Put first the second font of application configuration.Certainly, in the case of the first font and the second font identical, first can still be set
The font of application configuration second, that is, carry out font renewal.
First font can first apply the font used before its this operation.
The character not exclusively corresponding situation that the first font and the second font are supported is there may be in practical operation.Example
Such as the first font can support character a, but the second font does not support character a.In the case, if the first application configuration
Two fonts, then may cause mess code or incompatible situation when showing character a.To solve the problem, some realities of the invention
The character that applying example can also include by the first font with being related separately in the second font is compared.If existed in the first font
The character not having in second font, then can retain its font format in the first font for the character.And the present invention's
In other embodiments, first applies after the second font is configured with, and can still retain the first font.That is, for first
For, it can retain the first font and the second font simultaneously.If the character to be shown obtains the support of the second font,
The font format in the second font can be then used to show the character, otherwise, the character can continue to use the font in the first font
Form.Certainly, this is only the scheme of embodiment and the example that provides to illustrate the invention.In some other embodiment, also may be used
In the presence of the other modes using the first font and the second font, such as some characters preferably use the form in the first font and another
Some characters preferably use form in the second font etc., and the present invention is not by the specifically used side of the first font and the second font
The limitation of formula.
In some embodiments of the invention, once start disabling application has been run, shut down in electronic equipment or it is
Before system is restarted, it can treat the application of start disabling as non-start disabling application, that is, can be straight when next font is changed
Connect the start disabling application run to this after electronic equipment startup and send the message for indicating that font is set, notify it by font
It is set to the font newly changed.
Processor 510 shown in Fig. 4 can for example include general purpose microprocessor, instruction set processor and/or related chip
Group and/or special microprocessor (for example, application specific integrated circuit (ASIC)), etc..Processor 510 can also include being used to cache
The onboard storage device of purposes.
Memory (such as computer-readable recording medium 520), for example can be can include, store, transmitting, propagating or
Transmit the arbitrary medium of instruction.For example, readable storage medium storing program for executing can include but is not limited to electricity, it is magnetic, optical, electromagnetic, infrared or partly lead
System system, device, device or propagation medium.The specific example of readable storage medium storing program for executing includes:Magnetic memory apparatus, such as tape or hard disk
(HDD);Light storage device, such as CD (CD-ROM);Memory, such as random access memory (RAM) or flash memory;And/or wired/
Wireless communication link.
In the exemplary embodiment, computer executable instructions can include one or more program modules, for example including
521A, module 521B ....It should be noted that the dividing mode and number of module are not fixed, those skilled in the art can
To be combined according to actual conditions using suitable program module or program module, when the combination of these program modules is by processor 510
During execution so that processor 510 can be performed for example above in conjunction with the method flow described by Fig. 1 and its any deformation.
Electronic equipment according to Fig. 4, can also include sender unit 530 and signal receiver 540.Signal is sent
Device 530 and signal receiver 540 can be any transmitters that can be with the equipment outside electronic equipment and device transmission/receive information
And receiver, the invention is not restricted to specific transmitters and receivers.
Can be by there is the electricity of computing capability according to the above method of various embodiments of the present invention, device, unit and/or module
Sub- equipment performs the software comprising computer instruction to realize.The system can include storage device, described above to realize
Various storages.The electronic equipment for having computing capability can include general processor, digital signal processor, dedicated processes
Device, re-configurable processor etc. are able to carry out the device of computer instruction, but not limited to this.Perform such instruction and cause electricity
Sub- equipment is configured as performing the above-mentioned operations according to the present invention.Above-mentioned each equipment and/or module can be in an electronics
Realize, can also be realized in distinct electronic apparatuses in equipment.These softwares can be stored in a computer-readable storage medium.
The one or more programs of computer-readable recording medium storage (software module), one or more of programs include instruction, when
When being instructed described in one or more of electronic equipment computing device, the instruction causes electronic equipment to perform the side of the present invention
Method.
These softwares can be stored as form (such as similar ROM etc. of volatile memory or Nonvolatile memory devices
Storage device), it is whether erasable or rewritable, or it is stored as form (such as RAM, storage core of memory
Piece, equipment or integrated circuit), or (such as, CD, DVD, disk or magnetic are stored on light computer-readable recording medium or magnetic computer-readable recording medium
Band etc.).It should be appreciated that storage device and storage medium are adapted for the machine readable storage dress for storing one or more programs
The embodiment put, one program or multiple programs include instruction, when executed, realize the implementation of the present invention
Example.Embodiment provides program and stores the machine-readable storage device of this program, and described program includes being used to realize the present invention
Any one claim described in device or method code.Furthermore, it is possible to via any medium (such as, via wired
The signal of communication that connection or wireless connection are carried) to send a telegram here and transmit these programs, multiple embodiments suitably include these programs.
Such as field programmable gate can also be used according to the method for various embodiments of the present invention, device, unit and/or module
Array (FPGA), programmable logic array (PLA), on-chip system, the system on substrate, the system in encapsulation, special integrated electricity
Road (ASIC) can come real for carrying out the hardware such as integrated or encapsulation any other rational method or firmware to circuit
It is existing, or realized with software, the appropriately combined of three kinds of implementations of hardware and firmware.The system can include storage device,
To realize storage as described above.When realizing in such ways, used software, hardware and/or firmware be programmed or
It is designed as performing the corresponding above method, step and/or the function according to the present invention.Those skilled in the art can be according to actual need
Come one or more of these systems and module suitably, or a part therein or some use it is different upper
Implementation is stated to realize.These implementations each fall within protection scope of the present invention.
As the skilled person will appreciate, for any and all purpose, for example, written theory is being provided
The aspect of bright book, all scopes disclosed herein are also covered by any and all possible subrange and its son
The combination of scope.Any listed scope, which can be readily identified into, sufficiently to be described and enables same scope
At least it is broken down into equal two parts, three parts, four parts, five parts, ten parts, etc..As nonrestrictive example,
Each scope discussed herein can be easily decomposed into down 1/3rd, in 1/3rd and upper three/
One etc..As those skilled in the art will also be understood that, all languages of " until ", " at least ", " being more than ", " being less than " etc.
Yan Jun includes stated quantity and is the scope for referring to be broken down into subrange as discussed above therewith.Finally,
As the skilled person will appreciate, scope includes each single composition.So, for example, the group with 1-3 unit
Refer to 1, the group of 2 or 3 units.Similarly, the group with 1-5 unit refers to have 1,2,3,4 or 5 units
Group, etc..
Although the present invention, art technology has shown and described with reference to the certain exemplary embodiments of the present invention
Personnel it should be understood that without departing substantially from appended claims and its equivalent restriction the spirit and scope of the present invention in the case of,
Can be to a variety of changes in carry out form and details of the present invention.Therefore, the scope of the present invention should not necessarily be limited by above-described embodiment,
But not only should be determined by appended claims, also it is defined by the equivalent of appended claims.
Claims (10)
1. a kind of method for electronic equipment, including:
Monitor the operation of the application on the electronic equipment;
The font for monitoring the electronic equipment is set;
If the first application operation of the first font of configuration is detected, and the electronic equipment before the described first application operation
Font is arranged to the second font, and generation indicates that the font of the second font described in first application configuration sets instruction;
Respond the font and instruction is set, the second font described in first application configuration is set.
2. according to the method described in claim 1, if detecting the first application operation of the first font of configuration, and described the
The font of the electronic equipment is arranged to the second font before one application operation, and generation indicates described in first application configuration the
The font of two fonts sets instruction to include:
If detecting the first application operation of the first font of configuration, determine whether first application is the electronic equipment
First kind application, wherein, the first kind application is the application for forbidding operation when the electronic equipment starts;
If it is determined that first application is the first kind application of the electronic equipment, and after electronic equipment startup,
The font of the electronic equipment is arranged to the second font, and this operation of first application before the first application operation
It is described first to apply the operation first after the startup of the electronic equipment, generation indicates the first application configuration institute
The font for stating the second font sets instruction.
3. method according to claim 2, includes after the font for monitoring the electronic equipment is set:
If the font of the electronic equipment is arranged to second font, by directly to the Equations of The Second Kind of the electronic equipment
The message for indicating that font is set using sending, notifies the Equations of The Second Kind is applied its font is set into second font, wherein,
The Equations of The Second Kind application is the application for not forbidding operation when the electronic equipment is started shooting.
4. method according to claim 2, in addition to, the electronic equipment obtains the first kind application when it starts
Inventory,
Wherein it is determined that it is described first application whether be the electronic equipment the first kind apply including:
Receive described first and apply the request message for Request System resource sent when it runs;
In response to receiving the request message, determine first application whether in the inventory;And
If it is determined that described first applies in the inventory, the described first application is defined as the first kind application.
5. method according to claim 4, wherein, set the font of the first application configuration second to include:
Send to be used to assign to the described first application and ask the assignment messages of resource, wherein, the assignment messages including to
The instruction of second font is put, to cause first application to realize that font is matched somebody with somebody without electronic equipment restarting
Put.
6. method according to claim 2, wherein, generation indicates the font of the second font described in first application configuration
Instruction is set to include:
First font is compared with second font;And
When first font is different from second font, generation indicates the second font described in first application configuration
Font sets instruction.
7. method according to any one of claim 1 to 6, in addition to:
First font and the character that is related separately in second font are compared;
It is that the character retains it described first if there is the character not having in second font in first font
Font format in font.
8. method according to any one of claim 1 to 6, in addition to:
Described first applies after second font is configured, and still retains first font.
9. a kind of electronic equipment, including:
Using operational monitoring unit, the operation for monitoring the application on the electronic equipment;
Font sets monitoring unit, and the font for monitoring the electronic equipment is set;
Font sets instruction generation unit, for detecting the first application operation of the first font of configuration and detecting described
When the font of the electronic equipment is arranged to the second font before first application operation, generation indicates the first application configuration institute
The font for stating the second font sets instruction;And
Font setting unit, sets instruction for responding the font, sets the font of the first application configuration second.
10. a kind of electronic equipment, including:
Processor;And
Memory, be stored with machine-executable instruction, and the instruction is when being executed by processor so that is grasped below computing device
Make:
Monitor the operation of the application on the electronic equipment;
The font for monitoring the electronic equipment is set;
If the first application operation of the first font of configuration is detected, and the electronic equipment before the described first application operation
Font is arranged to the second font, and generation indicates that the font of the second font described in first application configuration sets instruction;
Respond the font and instruction is set, the second font described in first application configuration is set.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710211757.9A CN106970799A (en) | 2017-03-31 | 2017-03-31 | Method and electronic equipment for electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710211757.9A CN106970799A (en) | 2017-03-31 | 2017-03-31 | Method and electronic equipment for electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106970799A true CN106970799A (en) | 2017-07-21 |
Family
ID=59336506
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710211757.9A Pending CN106970799A (en) | 2017-03-31 | 2017-03-31 | Method and electronic equipment for electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106970799A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102789357A (en) * | 2012-06-18 | 2012-11-21 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for setting subject resources based on Andriod application technology |
CN105893336A (en) * | 2016-03-30 | 2016-08-24 | 努比亚技术有限公司 | Text display method and terminal |
CN106022099A (en) * | 2016-05-16 | 2016-10-12 | 上海传英信息技术有限公司 | Application self-starting management apparatus and method |
-
2017
- 2017-03-31 CN CN201710211757.9A patent/CN106970799A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102789357A (en) * | 2012-06-18 | 2012-11-21 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for setting subject resources based on Andriod application technology |
CN105893336A (en) * | 2016-03-30 | 2016-08-24 | 努比亚技术有限公司 | Text display method and terminal |
CN106022099A (en) * | 2016-05-16 | 2016-10-12 | 上海传英信息技术有限公司 | Application self-starting management apparatus and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230110179A1 (en) | System Function Invoking Method and Apparatus, and Terminal | |
US11221838B2 (en) | Hot update method, operating system, terminal device, system, and computer-readable storage medium for a system process | |
EP3509270B1 (en) | Data backup method and device, storage medium and electronic apparatus | |
CN103617380B (en) | Application program authority dynamic control method and system | |
US10409635B2 (en) | Switching method, switching system and terminal for system and/or application program | |
CN110116408B (en) | Robot safety control method, robot and computer readable storage medium | |
CN108121559A (en) | Configuration file method for pushing, server and storage medium | |
CN104077521A (en) | Information processing method and device | |
CN108563472B (en) | Service plug-in loading method and device based on multi-open application | |
US9727351B2 (en) | Method and device for setting status of application | |
US9430638B2 (en) | Authentication method, authentication apparatus and authentication device | |
CN103678125A (en) | Method and system for debugging codes | |
CN110532096B (en) | System and method for multi-node grouping parallel deployment | |
CN104820646A (en) | PCIE (peripheral component interface express) device dynamic scanning method supporting multi RC (remote control) in Linux system | |
CN103810419A (en) | Application uninstall preventing method and equipment | |
CN109347876A (en) | A kind of safety defense method and relevant apparatus | |
CN106569851B (en) | Application program processing method and device | |
CN104102498A (en) | Mobile terminal and booting method thereof | |
CN106970799A (en) | Method and electronic equipment for electronic equipment | |
CN104703173A (en) | Method, device and system for configuration and detection of terminal application account | |
CN110555009A (en) | processing method and device for Network File System (NFS) service | |
CN109558167A (en) | The method for managing the plug in software module of the electronic computer of electrical switching apparatus | |
CN103473081A (en) | Operant method after system updating of terminal and terminal | |
CN108933963A (en) | Method for upgrading software and device | |
CN109388436A (en) | Control method, device and the storage medium of starting procedure |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
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: 20170721 |