CN108108195A - Control method, device and the computer readable storage medium of smart machine - Google Patents
Control method, device and the computer readable storage medium of smart machine Download PDFInfo
- Publication number
- CN108108195A CN108108195A CN201711485689.1A CN201711485689A CN108108195A CN 108108195 A CN108108195 A CN 108108195A CN 201711485689 A CN201711485689 A CN 201711485689A CN 108108195 A CN108108195 A CN 108108195A
- Authority
- CN
- China
- Prior art keywords
- shut
- phase
- smart machine
- function module
- shutdown
- 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.)
- Granted
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/4401—Bootstrapping
- G06F9/442—Shutdown
Abstract
The invention discloses the control method of smart machine, device and computer readable storage mediums.The described method includes:For the smart machine, multiple shut-down-phases are set;The function module closed for the configuration of each shut-down-phase in the shut-down-phase;In response to shutdown command, corresponding function module is closed by each shut-down-phase.The technical solution realizes the stratification, staged during smart machine shutdown, and non-disposable all function modules of closing, user is made to be in a kind of state for slowly terminating smart machine and using, it is played in smart machine under the scenes such as music, a kind of atmosphere that music lingering around the beamsthe music lingers in the air is built to user, greatly improves user experience.
Description
Technical field
The present invention relates to Intelligent hardware fields, and in particular to the control method of smart machine, device and computer-readable deposits
Storage media.
Background technology
Smart machine generally includes multiple function modules, these function modules need to load in start, it usually needs one
Fixed initialization time, as long as on the contrary, when shutdown preserve and these function modules can be closed after necessary data, speed,
Even data need not be all preserved especially for light modules, sound module etc., it is only necessary to power-off.In this way, many intelligence
As long as energy equipment is turned off in shutdown by lower switch, repertoire, and in fact, user is intended to close intelligence really sometimes
Equipment, but be not intended to all function modules and close together, such as want to close the player for playing music before going out,
But it actually gos out again it is also desirable that listening song and finishing changing clothes, such shutdown mode cannot be met the needs of users.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly
State control method, device and the computer readable storage medium of the smart machine of problem.
One side according to the invention provides a kind of control method of smart machine, including:
For the smart machine, multiple shut-down-phases are set;
The function module closed for the configuration of each shut-down-phase in the shut-down-phase;
In response to shutdown command, corresponding function module is closed by each shut-down-phase.
Optionally, it is described for the smart machine multiple shut-down-phases to be set to include:It is set for each shut-down-phase corresponding
It shuts down the response time;
It is described to include by the corresponding function module of each shut-down-phase closing:When shutdown according to each shut-down-phase responds
Between, close corresponding function module.
Optionally, the function module closed for the configuration of each shut-down-phase in the shut-down-phase includes:
The multiple function modules closed in the shut-down-phase are configured for each shut-down-phase, and the multiple function mould is set
The closing sequence of block.
Optionally, the function module closed for the configuration of each shut-down-phase in the shut-down-phase includes:
According to the smart machine currently executed function, the function module closed in each shut-down-phase is determined.
Optionally, further include:
In response to power-on instruction, judge the smart machine whether in a certain shut-down-phase;
If the smart machine is in a shut-down-phase, current shut-down-phase is terminated, initializes the work(being turned off
It can module.
Optionally, further include:
For the smart machine, multiple start-up phases are set;
The function module initialized for the configuration of each start-up phase in the start-up phase;
If the smart machine is not in any shut-down-phase, corresponding function is initialized by each start-up phase
Module.
Optionally, the function module initialized for the configuration of each start-up phase in the start-up phase includes:
The multiple function modules initialized in the start-up phase are configured for each start-up phase, and the multiple function is set
The initialization order of module.
Optionally, further include:
After the function module initializes successfully, start the function module immediately to realize corresponding function.
Optionally, the function module initialized for the configuration of each start-up phase in the start-up phase includes:
The driving of the function module is arranged to the BootLoader loadings by the smart machine;
And/or
The driving of the function module is arranged to the linux kernel loading by the smart machine.
Another aspect according to the invention provides a kind of control device of smart machine, including:
Shut down dispensing unit, is suitable for the smart machine and sets multiple shut-down-phases and be suitable for each shut-down-phase
Configure the function module closed in the shut-down-phase;
Shutdown control unit, is adapted for shutdown command, and corresponding function module is closed by each shut-down-phase.
Optionally, the shutdown dispensing unit is suitable for each shut-down-phase and sets the corresponding shutdown response time;
The shutdown control unit suitable for the shutdown response time according to each shut-down-phase, closes corresponding function module.
Optionally, the shutdown dispensing unit, be suitable for the configuration of each shut-down-phase closed in the shut-down-phase it is multiple
Function module, and the closing sequence of the multiple function module is set.
Optionally, the shutdown dispensing unit, suitable for according to the smart machine currently executed function, determining in each pass
The function module closed in the machine stage.
Optionally, further include:
Whether start control unit, is adapted for power-on instruction, judge the smart machine in a certain shut-down-phase
In, if the smart machine is in a shut-down-phase, current shut-down-phase is terminated, initializes the function mould being turned off
Block.
Optionally, further include:
Start dispensing unit is suitable for the smart machine and sets multiple start-up phases and be suitable for each start-up phase
Configure the function module initialized in the start-up phase;
The start control unit if being not in suitable for the smart machine in any shut-down-phase, described is opened as each
The machine stage initializes corresponding function module.
Optionally, the start dispensing unit, be suitable for the configuration of each start-up phase initialized in the start-up phase it is more
A function module, and the initialization order of the multiple function module is set.
Optionally, the start control unit, is further adapted for after the function module initializes successfully, immediately described in startup
Function module is to realize corresponding function.
Optionally, the start dispensing unit, suitable for being arranged to the driving of the function module by the smart machine
BootLoader loading;And/or suitable for being arranged to the driving of the function module in the Linux by the smart machine
Core loads.
Another aspect according to the invention, provides a kind of computer readable storage medium, wherein, it is described computer-readable
The one or more programs of storage medium storage, one or more of programs when being executed by a processor, are realized as any of the above-described
Method described in.
It can be seen from the above, technical scheme, by setting multiple shut-down-phases for smart machine, and is each shutdown
The function module that stage configuration is closed in the shut-down-phase, is so receiving shutdown command, can be by each shutdown rank
Section closes corresponding function module.The technical solution realizes the stratification, staged and non-disposable during smart machine shutdown
All function modules are closed, user is made to be in a kind of state for slowly terminating smart machine and using, music is played in smart machine
Etc. under scenes, build a kind of atmosphere that music lingering around the beamsthe music lingers in the air to user, greatly improve user experience.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field
Technical staff will be apparent understanding.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of flow diagram of the control method of smart machine according to an embodiment of the invention;
Fig. 2 shows a kind of structure diagram of the control device of smart machine according to an embodiment of the invention;
Fig. 3 shows the structure diagram of computer readable storage medium according to an embodiment of the invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
Fig. 1 shows a kind of flow diagram of the control method of smart machine according to an embodiment of the invention.Such as
Shown in Fig. 1, this method includes:
Step S110 sets multiple shut-down-phases for smart machine.Wherein, smart machine can be mobile phone, tablet computer,
Intelligent story device etc..
Step S120, the function module closed for the configuration of each shut-down-phase in the shut-down-phase.A for example, preset row
Table preserves the correspondence of function module and shut-down-phase.
In response to shutdown command, corresponding function module is closed by each shut-down-phase by step S130.Shutdown command can lead to
The hardware triggers such as knob, shutdown button are crossed, can also be triggered by the menu item in operating system, etc..
In the prior art generally, it is considered that the unused time is more short better, the experience of user is more preferably.Actually not so, as background
The example that technology segment is enumerated, in some cases, it is rapid after shutdown command is received that user is not intended to smart machine
It closes, such as the music player with lighting effects, colorful light can be flickered when playing music, if user closes sound
Happy player, then light disappearance, music stop, and the drop of so front and rear atmosphere is very significant, and user is easy to realize
The sensation to feel lost something of value.
As it can be seen that method shown in FIG. 1, by setting multiple shut-down-phases for smart machine, and configures for each shut-down-phase
The function module closed in the shut-down-phase is so receiving shutdown command, can be closed by each shut-down-phase corresponding
Function module.The technical solution realizes the stratification, staged during smart machine shutdown, and non-disposable to close institute functional
Module makes user be in a kind of state for slowly terminating smart machine and using, in the case where smart machine plays the scenes such as music, to use
A kind of atmosphere that music lingering around the beamsthe music lingers in the air is built at family, greatly improves user experience.
In one embodiment of the invention, in the above method, for smart machine multiple shut-down-phases is set to include:To be each
Shut-down-phase sets the corresponding shutdown response time;Closing corresponding function module by each shut-down-phase includes:According to each shutdown
The shutdown response time in stage, close corresponding function module.
Such as a length of 20s when always shutting down of smart machine, camera module (first shut-down-phase) is closed in 0-5s,
Network module (second shut-down-phase) is closed in 5-10s, sound module (the 3rd shut-down-phase), 15- are closed in 10-15s
Light modules (the 4th shut-down-phase) are closed in 20s.Accordingly even when corresponding function mould is completed in some shut-down-phase
The closing of block, the closing that will not influence other function modules perform, and the closing of each function module is at a fixed time
It is completed in section.
In one embodiment of the invention, in the above method, closed for the configuration of each shut-down-phase in the shut-down-phase
Function module include:The multiple function modules closed in the shut-down-phase are configured for each shut-down-phase, and multiple work(are set
The closing sequence of energy module.
In the above example, each shut-down-phase corresponds to a function module, and an actually shut-down-phase also may be used
With the multiple function modules of correspondence, the closing of these function modules can parallel perform in corresponding shut-down-phase, also may be used
Sequentially serially to perform, in the latter in this case, the closing sequence of this multiple function module can be pre-set.
Reality is it is achieved that the shutdown order of custom feature module, such as user wish in the above embodiments
It is first to close light modules every time, turns off sound module, then the corresponding dwell period of light modules can be caused in sound
Before the dwell period of module.In fact, except User Defined, dispatch from the factory it is preset in addition to, can also be current according to smart machine
The function of execution determines the closing sequence of function module.I.e. in one embodiment of the invention, it is each pass in the above method
The function module that the configuration of machine stage is closed in the shut-down-phase includes:According to smart machine currently executed function, determine
The function module closed in each shut-down-phase.
For example, when user plays local song, then network module can be preferentially closed, and when user plays online song
When, then it needs to determine the shut-down-phase of network module according to the shut-down-phase of sound module.
Embodiments shown above can not only provide a kind of shutdown control mode closed slowly to the user, can also be real
The quick turn-on of existing smart machine.In one embodiment of the invention, the above method further includes:In response to power-on instruction, sentence
Whether disconnected smart machine is in a certain shut-down-phase;If smart machine is in a shut-down-phase, current shutdown is terminated
Stage initializes the function module being turned off.
For example, Intelligent story device may be by baby as toy, frequent rotating switch machine knob causes Intelligent story device
It switchs repeatedly.By taking power on-off modes of the prior art as an example, then needed after baby closes Story machine, then when starting shooting slow
Ground loads each function module, causes start very slow, so experiences very poor.And in the present embodiment, under above-mentioned scene, due to
Each function module is closed in shutdown according to shut-down-phase, it is thus possible to appear in when receiving power-on instruction, there is one
A little function modules are closed not yet, then may not necessarily be turned off these function modules at this time, be exactly specifically to terminate currently
Shut-down-phase, then subsequent shut-down-phase also no longer perform, for the function module being turned off, it is initialized i.e.
Can, the function module initialized is needed when so greatly reducing start, improves starting up speed.
In one embodiment of the invention, the above method further includes:For smart machine, multiple start-up phases are set;To be each
The function module that start-up phase configuration initializes in the start-up phase;If smart machine is not in any shut-down-phase,
Corresponding function module is initialized by each start-up phase.
Showing in the present embodiment a kind of makes user feel the control mode of starting up speed quickly, actually smart machine
The each function module to be initialized, function might not all be that user can directly perceive, such as some verification work(
Can module, actually in order to ensure the stability of smart machine.It therefore, can for light modules, sound module and other effects
The function module substantially perceived by user, can be with priority initialization, and starts immediately after successful initialization, i.e., in the present invention
One embodiment in, the above method further includes:After function module initializes successfully, startup function module is to realize phase immediately
The function of answering.
For example, Intelligent story device is after powering, light flash, sending prompt tone afterwards, " I is your good friend, xx stories
Machine ", since the broadcasting of prompt tone can continue for some time, within this time, other function modules can be according to start-up phase
It is initialized, and the attention of user is then to be prompted sound to be attracted, it is believed that Intelligent story device is already powered on, and so makes user
Starting up speed is thought from sense organ quickly.
In one embodiment of the invention, it is initial in the start-up phase for the configuration of each start-up phase in the above method
The function module of change includes:The multiple function modules initialized in the start-up phase are configured for each start-up phase, and are set more
The initialization order of a function module.
Similar with the setting of shut-down-phase, a start-up phase is also that can correspond to one or more functions module,
During corresponding multiple function modules and it can be set in serial initialization with parallel initialization or serial initialization
The order of initialization.
In one embodiment of the invention, it is initial in the start-up phase for the configuration of each start-up phase in the above method
The function module of change includes:The driving of function module is arranged to the BootLoader loadings by smart machine;And/or by work(
The driving of energy module is arranged to the linux kernel loading by smart machine.
A kind of example of bottom layer realization is given in the present embodiment, i.e., the driving of function module is arranged to by different
System loads.The operating system of current many better simply smart machines of function is all based on linux kernel exploitation, Linux
BootLoader can be introduced into before the startup of the operating system of kernel, but is typically the operation in linux kernel in the prior art
The driving of each function module of system loads, and the drive of part of functions module is loaded in BootLoader in the present embodiment
It moves, such as the driving of light modules, the initialization process for so allowing for these function modules are advanced by significantly, also just further
Improve starting up speed.
Fig. 2 shows a kind of structure diagram of the control device of smart machine according to an embodiment of the invention.Such as
Shown in Fig. 2, the control device 200 of smart machine includes:
Shut down dispensing unit 210, is suitable for smart machine and sets multiple shut-down-phases and be suitable for each shut-down-phase to match somebody with somebody
Put the function module closed in the shut-down-phase.Wherein, smart machine can be mobile phone, tablet computer, Intelligent story device etc..
Shutdown control unit 220, is adapted for shutdown command, and corresponding function module is closed by each shut-down-phase.It closes
Machine instruction can also pass through triggering of the menu item in operating system, etc. by hardware triggers such as knob, shutdown buttons.
In the prior art generally, it is considered that the unused time is more short better, the experience of user is more preferably.Actually not so, as background
The example that technology segment is enumerated, in some cases, it is rapid after shutdown command is received that user is not intended to smart machine
It closes, such as the music player with lighting effects, colorful light can be flickered when playing music, if user closes sound
Happy player, then light disappearance, music stop, and the drop of so front and rear atmosphere is very significant, and user is easy to realize
The sensation to feel lost something of value.
As it can be seen that device shown in Fig. 2, by the mutual cooperation of each unit, multiple shut-down-phases are set for smart machine, and
For the function module that the configuration of each shut-down-phase is closed in the shut-down-phase, shutdown command so is being received, it can be by each pass
The machine stage closes corresponding function module.The technical solution realizes the stratification, staged during smart machine shutdown, and not one
Secondary property closes all function modules, and user is made to be in a kind of state for slowly terminating smart machine and using, and is played in smart machine
Under the scenes such as music, a kind of atmosphere that music lingering around the beamsthe music lingers in the air is built to user, greatly improves user experience.
In one embodiment of the invention, in above device, shut down dispensing unit 210, is suitable for each shut-down-phase and sets
Put the corresponding shutdown response time;Shutdown control unit suitable for the shutdown response time according to each shut-down-phase, is closed corresponding
Function module.
Such as a length of 20s when always shutting down of smart machine, camera module (first shut-down-phase) is closed in 0-5s,
Network module (second shut-down-phase) is closed in 5-10s, sound module (the 3rd shut-down-phase), 15- are closed in 10-15s
Light modules (the 4th shut-down-phase) are closed in 20s.Accordingly even when corresponding function mould is completed in some shut-down-phase
The closing of block, the closing that will not influence other function modules perform, and the closing of each function module is at a fixed time
It is completed in section.In one embodiment of the invention, in above device, shut down dispensing unit, is suitable for each shut-down-phase
The multiple function modules closed in the shut-down-phase are configured, and the closing sequence of multiple function modules is set.
In the above example, each shut-down-phase corresponds to a function module, and an actually shut-down-phase also may be used
With the multiple function modules of correspondence, the closing of these function modules can parallel perform in corresponding shut-down-phase, also may be used
Sequentially serially to perform, in the latter in this case, the closing sequence of this multiple function module can be pre-set.
Reality is it is achieved that the shutdown order of custom feature module, such as user wish in the above embodiments
It is first to close light modules every time, turns off sound module, then the corresponding dwell period of light modules can be caused in sound
Before the dwell period of module.In fact, except User Defined, dispatch from the factory it is preset in addition to, can also be current according to smart machine
The function of execution determines the closing sequence of function module.I.e. in one embodiment of the invention, in above device, shutdown is matched somebody with somebody
Unit is put, suitable for according to smart machine currently executed function, determining the function module closed in each shut-down-phase.
For example, when user plays local song, then network module can be preferentially closed, and when user plays online song
When, then it needs to determine the shut-down-phase of network module according to the shut-down-phase of sound module.
Embodiments shown above can not only provide a kind of shutdown control mode closed slowly to the user, can also be real
The quick turn-on of existing smart machine.In one embodiment of the invention, above device further includes:(figure is not for control unit of starting shooting
Show), power-on instruction is adapted for, judges that smart machine whether in a certain shut-down-phase, closes if smart machine is in one
In the machine stage, then current shut-down-phase is terminated, initialize the function module being turned off.
For example, Intelligent story device may be by baby as toy, frequent rotating switch machine knob causes Intelligent story device
It switchs repeatedly.By taking power on-off modes of the prior art as an example, then needed after baby closes Story machine, then when starting shooting slow
Ground loads each function module, causes start very slow, so experiences very poor.And in the present embodiment, under above-mentioned scene, due to
Each function module is closed in shutdown according to shut-down-phase, it is thus possible to appear in when receiving power-on instruction, there is one
A little function modules are closed not yet, then may not necessarily be turned off these function modules at this time, be exactly specifically to terminate currently
Shut-down-phase, then subsequent shut-down-phase also no longer perform, for the function module being turned off, it is initialized i.e.
Can, the function module initialized is needed when so greatly reducing start, improves starting up speed.
In one embodiment of the invention, above device further includes:Start dispensing unit (not shown), is suitable for intelligence
Equipment sets multiple start-up phases and is suitable for the function module that each start-up phase configuration initializes in the start-up phase;
If being not in suitable for smart machine in any shut-down-phase, corresponding work(is initialized by each start-up phase for start control unit
It can module.
Showing in the present embodiment a kind of makes user feel the control mode of starting up speed quickly, actually smart machine
The each function module to be initialized, function might not all be that user can directly perceive, such as some verification work(
Can module, actually in order to ensure the stability of smart machine.It therefore, can for light modules, sound module and other effects
The function module substantially perceived by user, can be with priority initialization, and starts immediately after successful initialization, i.e., in the present invention
One embodiment in, in above device, start shooting control unit, be further adapted for after function module initializes successfully, start immediately
Function module is to realize corresponding function.
For example, Intelligent story device is after powering, light flash, sending prompt tone afterwards, " I is your good friend, xx stories
Machine ", since the broadcasting of prompt tone can continue for some time, within this time, other function modules can be according to start-up phase
It is initialized, and the attention of user is then to be prompted sound to be attracted, it is believed that Intelligent story device is already powered on, and so makes user
Starting up speed is thought from sense organ quickly.
In one embodiment of the invention, in above device, dispensing unit of starting shooting is suitable for each start-up phase configuration and exists
Multiple function modules of initialization in the start-up phase, and the initialization order of multiple function modules is set.
Similar with the setting of shut-down-phase, a start-up phase is also that can correspond to one or more functions module,
During corresponding multiple function modules and it can be set in serial initialization with parallel initialization or serial initialization
The order of initialization.
In one embodiment of the invention, in above device, dispensing unit of starting shooting, suitable for the driving of function module is set
It is set to the BootLoader loadings by smart machine;And/or suitable for being arranged to the driving of function module by smart machine
Linux kernel loads.
A kind of example of bottom layer realization is given in the present embodiment, i.e., the driving of function module is arranged to by different
System loads.The operating system of current many better simply smart machines of function is all based on linux kernel exploitation, Linux
BootLoader can be introduced into before the startup of the operating system of kernel, but is typically the operation in linux kernel in the prior art
The driving of each function module of system loads, and the drive of part of functions module is loaded in BootLoader in the present embodiment
It moves, such as the driving of light modules, the initialization process for so allowing for these function modules are advanced by significantly, also just further
Improve starting up speed.
In conclusion technical scheme, by setting multiple shut-down-phases for smart machine, and is each shutdown rank
The function module that section configuration is closed in the shut-down-phase, is so receiving shutdown command, can closed by each shut-down-phase
Corresponding function module.The technical solution realizes the stratification, staged during smart machine shutdown, and non-disposable closing institute
Functional module makes user be in a kind of state for slowly terminating smart machine and using, and the scenes such as music are played in smart machine
Under, a kind of atmosphere that music lingering around the beamsthe music lingers in the air is built to user, greatly improves user experience.
It should be noted that:
Algorithm and display be not inherently related to any certain computer, virtual bench or miscellaneous equipment provided herein.
Various fexible units can also be used together with teaching based on this.As described above, required by constructing this kind of device
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the specification provided in this place, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor
Shield the present invention claims the more features of feature than being expressly recited in each claim.It is more precisely, such as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim is in itself
Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment
Change and they are arranged in one or more equipment different from the embodiment.It can be the module or list in embodiment
Member or component be combined into a module or unit or component and can be divided into addition multiple submodule or subelement or
Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it may be employed any
Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and attached drawing) and so to appoint
Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Profit requirement, summary and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included some features rather than other feature, but the combination of the feature of different embodiments means in of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization or to be run on one or more processor
Software module realize or realized with combination thereof.It will be understood by those of skill in the art that it can use in practice
Microprocessor or digital signal processor (DSP) are realized in the control device of smart machine according to embodiments of the present invention
The some or all functions of some or all components.The present invention is also implemented as performing method as described herein
Some or all equipment or program of device (for example, computer program and computer program product).Such reality
The program of the existing present invention can may be stored on the computer-readable medium or can have the form of one or more signal.
Such signal can be downloaded from internet website to be obtained either providing or in the form of any other on carrier signal
It provides.
For example, Fig. 3 shows a kind of structural representation of computer readable storage medium according to an embodiment of the invention
Figure.The computer readable storage medium 300 is stored with to perform the computer-readable program of steps of a method in accordance with the invention
Code 310, such as the program code that can be read by the processor of electronic equipment, when these program codes are run by electronic equipment
When, the electronic equipment is caused to perform each step in method described above.Program code can carry out in a suitable form
Compression.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch
To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame
Claim.
Embodiment of the invention discloses that A1, a kind of control method of smart machine, including:
For the smart machine, multiple shut-down-phases are set;
The function module closed for the configuration of each shut-down-phase in the shut-down-phase;
In response to shutdown command, corresponding function module is closed by each shut-down-phase.
A2, the method as described in A1, wherein, it is described for the smart machine multiple shut-down-phases to be set to include:For each pass
The machine stage sets the corresponding shutdown response time;
It is described to include by the corresponding function module of each shut-down-phase closing:When shutdown according to each shut-down-phase responds
Between, close corresponding function module.
A3, the method as described in A1, wherein, the function mould closed for the configuration of each shut-down-phase in the shut-down-phase
Block includes:
The multiple function modules closed in the shut-down-phase are configured for each shut-down-phase, and the multiple function mould is set
The closing sequence of block.
A4, the method as described in A1, wherein, the function mould closed for the configuration of each shut-down-phase in the shut-down-phase
Block includes:
According to the smart machine currently executed function, the function module closed in each shut-down-phase is determined.
A5, the method as described in A1, further include:
In response to power-on instruction, judge the smart machine whether in a certain shut-down-phase;
If the smart machine is in a shut-down-phase, current shut-down-phase is terminated, initializes the work(being turned off
It can module.
A6, the method as described in A5, further include:
For the smart machine, multiple start-up phases are set;
The function module initialized for the configuration of each start-up phase in the start-up phase;
If the smart machine is not in any shut-down-phase, corresponding function is initialized by each start-up phase
Module.
A7, the method as described in A6, wherein, the function of being initialized for the configuration of each start-up phase in the start-up phase
Module includes:
The multiple function modules initialized in the start-up phase are configured for each start-up phase, and the multiple function is set
The initialization order of module.
A8, the method as described in A6, further include:
After the function module initializes successfully, start the function module immediately to realize corresponding function.
A9, the method as described in A6, wherein, the function of being initialized for the configuration of each start-up phase in the start-up phase
Module includes:
The driving of the function module is arranged to the BootLoader loadings by the smart machine;
And/or
The driving of the function module is arranged to the linux kernel loading by the smart machine.
The embodiment of the present invention also discloses B10, a kind of control device of smart machine, including:
Shut down dispensing unit, is suitable for the smart machine and sets multiple shut-down-phases and be suitable for each shut-down-phase
Configure the function module closed in the shut-down-phase;
Shutdown control unit, is adapted for shutdown command, and corresponding function module is closed by each shut-down-phase.
B11, the device as described in B10, wherein,
The shutdown dispensing unit is suitable for each shut-down-phase and sets the corresponding shutdown response time;
The shutdown control unit suitable for the shutdown response time according to each shut-down-phase, closes corresponding function module.
B12, the device as described in B10, wherein,
The shutdown dispensing unit is suitable for multiple function moulds that each shut-down-phase configuration is closed in the shut-down-phase
Block, and the closing sequence of the multiple function module is set.
B13, the device as described in B10, wherein,
The shutdown dispensing unit, suitable for according to the smart machine currently executed function, determining in each shut-down-phase
The function module of interior closing.
B14, the device as described in B10, further include:
Whether start control unit, is adapted for power-on instruction, judge the smart machine in a certain shut-down-phase
In, if the smart machine is in a shut-down-phase, current shut-down-phase is terminated, initializes the function mould being turned off
Block.
B15, the device as described in B14, further include:
Start dispensing unit is suitable for the smart machine and sets multiple start-up phases and be suitable for each start-up phase
Configure the function module initialized in the start-up phase;
The start control unit if being not in suitable for the smart machine in any shut-down-phase, described is opened as each
The machine stage initializes corresponding function module.
B16, the device as described in B15, wherein,
The start dispensing unit is suitable for multiple function moulds that each start-up phase configuration initializes in the start-up phase
Block, and the initialization order of the multiple function module is set.
B17, the device as described in B15, wherein,
The start control unit, is further adapted for after the function module initializes successfully, starts the function mould immediately
Block is to realize corresponding function.
B18, the device as described in B15, wherein,
The start dispensing unit, suitable for being arranged to the driving of the function module by the smart machine
BootLoader is loaded;And/or suitable for being arranged to the driving of the function module by the linux kernel of the smart machine
Loading.
The embodiment of the present invention also discloses C19, a kind of computer readable storage medium, wherein, it is described computer-readable
The one or more programs of storage medium storage, one or more of programs when being executed by a processor, are realized as appointed in A1-A9
Method described in one.
Claims (10)
1. a kind of control method of smart machine, including:
For the smart machine, multiple shut-down-phases are set;
The function module closed for the configuration of each shut-down-phase in the shut-down-phase;
In response to shutdown command, corresponding function module is closed by each shut-down-phase.
2. the method for claim 1, wherein described set multiple shut-down-phases to include for the smart machine:To be each
Shut-down-phase sets the corresponding shutdown response time;
It is described to include by the corresponding function module of each shut-down-phase closing:According to the shutdown response time of each shut-down-phase,
Close corresponding function module.
3. the method for claim 1, wherein function of being closed for the configuration of each shut-down-phase in the shut-down-phase
Module includes:
The multiple function modules closed in the shut-down-phase are configured for each shut-down-phase, and the multiple function module is set
Closing sequence.
4. the method for claim 1, wherein function of being closed for the configuration of each shut-down-phase in the shut-down-phase
Module includes:
According to the smart machine currently executed function, the function module closed in each shut-down-phase is determined.
5. the method as described in claim 1 further includes:
In response to power-on instruction, judge the smart machine whether in a certain shut-down-phase;
If the smart machine is in a shut-down-phase, current shut-down-phase is terminated, initializes the function mould being turned off
Block.
6. a kind of control device of smart machine, including:
Shut down dispensing unit, is suitable for the smart machine and sets multiple shut-down-phases and be suitable for each shut-down-phase configuration
The function module closed in the shut-down-phase;
Shutdown control unit, is adapted for shutdown command, and corresponding function module is closed by each shut-down-phase.
7. device as claimed in claim 6, wherein,
The shutdown dispensing unit is suitable for each shut-down-phase and sets the corresponding shutdown response time;
The shutdown control unit suitable for the shutdown response time according to each shut-down-phase, closes corresponding function module.
8. device as claimed in claim 6, wherein,
The shutdown dispensing unit is suitable for multiple function modules that each shut-down-phase configuration is closed in the shut-down-phase, and
The closing sequence of the multiple function module is set.
9. device as claimed in claim 6, wherein,
The shutdown dispensing unit, suitable for according to the smart machine currently executed function, determining to close in each shut-down-phase
The function module closed.
10. a kind of computer readable storage medium, wherein, the computer-readable recording medium storage one or more program,
One or more of programs when being executed by a processor, realize the method as any one of claim 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711485689.1A CN108108195B (en) | 2017-12-29 | 2017-12-29 | Control method and device of intelligent equipment and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711485689.1A CN108108195B (en) | 2017-12-29 | 2017-12-29 | Control method and device of intelligent equipment and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108108195A true CN108108195A (en) | 2018-06-01 |
CN108108195B CN108108195B (en) | 2021-07-13 |
Family
ID=62215033
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711485689.1A Active CN108108195B (en) | 2017-12-29 | 2017-12-29 | Control method and device of intelligent equipment and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108108195B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101083813A (en) * | 2007-06-12 | 2007-12-05 | 中兴通讯股份有限公司 | Turnoff method for dual-mode mobile terminal |
CN101426299A (en) * | 2007-10-30 | 2009-05-06 | 中兴通讯股份有限公司 | Shutting method for multi-mode mobile terminal |
CN202421995U (en) * | 2011-10-28 | 2012-09-05 | 徐银生 | Intelligent full-automatic start and stop deenergization protector for computer and accessory equipment of computer |
CN104044525A (en) * | 2013-03-13 | 2014-09-17 | 广州汽车集团股份有限公司 | Circuit and control method of vehicle-mounted intelligent information system |
CN106936996A (en) * | 2017-03-10 | 2017-07-07 | 广东欧珀移动通信有限公司 | Send method, device and the terminal of shutdown broadcast |
CN107396011A (en) * | 2017-07-10 | 2017-11-24 | 青岛海信电器股份有限公司 | A kind of method and apparatus for management of shutting down |
CN107401815A (en) * | 2017-08-04 | 2017-11-28 | 广东美的暖通设备有限公司 | Air conditioner and its timing shutdown control method and device |
-
2017
- 2017-12-29 CN CN201711485689.1A patent/CN108108195B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101083813A (en) * | 2007-06-12 | 2007-12-05 | 中兴通讯股份有限公司 | Turnoff method for dual-mode mobile terminal |
CN101426299A (en) * | 2007-10-30 | 2009-05-06 | 中兴通讯股份有限公司 | Shutting method for multi-mode mobile terminal |
CN202421995U (en) * | 2011-10-28 | 2012-09-05 | 徐银生 | Intelligent full-automatic start and stop deenergization protector for computer and accessory equipment of computer |
CN104044525A (en) * | 2013-03-13 | 2014-09-17 | 广州汽车集团股份有限公司 | Circuit and control method of vehicle-mounted intelligent information system |
CN106936996A (en) * | 2017-03-10 | 2017-07-07 | 广东欧珀移动通信有限公司 | Send method, device and the terminal of shutdown broadcast |
CN107396011A (en) * | 2017-07-10 | 2017-11-24 | 青岛海信电器股份有限公司 | A kind of method and apparatus for management of shutting down |
CN107401815A (en) * | 2017-08-04 | 2017-11-28 | 广东美的暖通设备有限公司 | Air conditioner and its timing shutdown control method and device |
Also Published As
Publication number | Publication date |
---|---|
CN108108195B (en) | 2021-07-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Banzi et al. | Getting started with Arduino | |
CN103677527A (en) | Suspension problem interaction control display method and device suitable for mobile terminal | |
CN108833966A (en) | Start-up picture control method, smart machine and computer readable storage medium | |
CN105791948A (en) | Method and system for realizing starting video of smart television | |
CN104346202A (en) | Setting method and device of terminal application program and terminal | |
JP2011030603A (en) | Pachinko game machine, performance method, and performance program | |
CN103614881A (en) | Washing machine and control method thereof | |
CN104658238A (en) | Household electrical appliance and remote control setting method thereof | |
CN108777816A (en) | Video interactive playback method and device | |
CN106063990A (en) | Cribbage-board | |
CN116009921A (en) | Method, device and medium for upgrading embedded operating system | |
CN105893065A (en) | Computer system starting method | |
CN108108195A (en) | Control method, device and the computer readable storage medium of smart machine | |
KR20040048938A (en) | Device running a user interface application | |
JP2007075466A (en) | Information processor and game program analysis program | |
CN111158802B (en) | Audio playing method, equipment, client device and electronic equipment | |
CN109579222A (en) | Control method, air conditioner, controlling terminal and the storage medium of air conditioner | |
US8015141B2 (en) | Rule-based programming languages for entities in environments | |
JP5589126B2 (en) | Game machine | |
Walker | Getting started with Netduino | |
CN111399926A (en) | Method and device for downloading starting program | |
CN103927207A (en) | Software acceleration method and device | |
Paul et al. | Persistence of Vision control using Arduino | |
JP2018196489A (en) | Game machine | |
CN108108208A (en) | The function control method and device of a kind of intelligent terminal |
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 |