CN108108195B - Control method and device of intelligent equipment and computer readable storage medium - Google Patents

Control method and device of intelligent equipment and computer readable storage medium Download PDF

Info

Publication number
CN108108195B
CN108108195B CN201711485689.1A CN201711485689A CN108108195B CN 108108195 B CN108108195 B CN 108108195B CN 201711485689 A CN201711485689 A CN 201711485689A CN 108108195 B CN108108195 B CN 108108195B
Authority
CN
China
Prior art keywords
shutdown
stage
functional module
phase
starting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711485689.1A
Other languages
Chinese (zh)
Other versions
CN108108195A (en
Inventor
张小娇
朱文祥
刘廷超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qibao Technology Co ltd
Original Assignee
Beijing Qibao Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qibao Technology Co ltd filed Critical Beijing Qibao Technology Co ltd
Priority to CN201711485689.1A priority Critical patent/CN108108195B/en
Publication of CN108108195A publication Critical patent/CN108108195A/en
Application granted granted Critical
Publication of CN108108195B publication Critical patent/CN108108195B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/442Shutdown

Abstract

The invention discloses a control method and a control device of intelligent equipment and a computer readable storage medium. The method comprises the following steps: setting a plurality of shutdown phases for the intelligent equipment; configuring a functional module which is closed in the shutdown stage for each shutdown stage; and responding to a shutdown instruction, and closing the corresponding functional module according to each shutdown stage. This technical scheme has realized layering, the staging when the smart machine shuts down to not once only closing all functional modules, making the user be in a state that slowly finishes the smart machine to use, under scenes such as smart machine broadcast music, builds the atmosphere of a lingering sound winding beam for the user, has greatly promoted user experience.

Description

Control method and device of intelligent equipment and computer readable storage medium
Technical Field
The invention relates to the field of intelligent hardware, in particular to a control method and a control device of intelligent equipment and a computer readable storage medium.
Background
The intelligent equipment usually comprises a plurality of functional modules, the functional modules need to be loaded when being started, certain initialization time is usually needed, on the contrary, the functional modules can be closed only after necessary data is stored when the intelligent equipment is shut down, the speed is high, particularly, the intelligent equipment does not need to store data even for a light module, a sound module and the like, and only power-off is needed. In this way, when many smart devices are turned off, all functions are turned off only by pressing a switch, and actually, sometimes a user really wants to turn off the smart device, but does not want all functional modules to be turned off together, for example, a player playing music is turned off before going out, but actually wants to listen to a song and change clothes before going out, and such a turning-off manner cannot meet the user's needs.
Disclosure of Invention
In view of the above, the present invention has been made to provide a control method, apparatus, and computer-readable storage medium for an intelligent device that overcome or at least partially solve the above-mentioned problems.
According to an aspect of the present invention, there is provided a control method of an intelligent device, including:
setting a plurality of shutdown phases for the intelligent equipment;
configuring a functional module which is closed in the shutdown stage for each shutdown stage;
and responding to a shutdown instruction, and closing the corresponding functional module according to each shutdown stage.
Optionally, the setting a plurality of shutdown phases for the smart device includes: setting corresponding shutdown response time for each shutdown stage;
the closing of the corresponding functional module according to each shutdown phase includes: and closing the corresponding functional module according to the shutdown response time of each shutdown stage.
Optionally, the configuring, for each shutdown phase, a functional module that is closed in the shutdown phase includes:
configuring a plurality of function modules which are closed in the shutdown stage for each shutdown stage, and setting the closing sequence of the plurality of function modules.
Optionally, the configuring, for each shutdown phase, a functional module that is closed in the shutdown phase includes:
and determining the functional modules which are closed in each shutdown stage according to the currently executed functions of the intelligent equipment.
Optionally, the method further comprises:
responding to a starting instruction, and judging whether the intelligent equipment is in a certain shutdown stage;
if the intelligent equipment is in a shutdown stage, terminating the current shutdown stage and initializing the closed functional modules.
Optionally, the method further comprises:
setting a plurality of starting-up stages for the intelligent equipment;
configuring a function module initialized in the starting-up stage for each starting-up stage;
and if the intelligent equipment is not in any shutdown stage, initializing corresponding functional modules according to each startup stage.
Optionally, the configuring, for each boot stage, a functional module initialized in the boot stage includes:
configuring a plurality of function modules initialized in the boot-up stage for each boot-up stage, and setting an initialization sequence of the plurality of function modules.
Optionally, the method further comprises:
and after the functional module is initialized successfully, starting the functional module immediately to realize the corresponding function.
Optionally, the configuring, for each boot stage, a functional module initialized in the boot stage includes:
setting the drive of the functional module to be loaded by a BootLoader of the intelligent equipment;
and/or the presence of a gas in the gas,
and setting the drive of the functional module to be loaded by a Linux kernel of the intelligent equipment.
According to another aspect of the present invention, there is provided a control apparatus for a smart device, including:
the shutdown configuration unit is suitable for setting a plurality of shutdown stages for the intelligent equipment and configuring a functional module which is closed in the shutdown stages for each shutdown stage;
and the shutdown control unit is suitable for responding to a shutdown instruction and closing the corresponding functional module according to each shutdown stage.
Optionally, the shutdown configuration unit is adapted to set a corresponding shutdown response time for each shutdown phase;
the shutdown control unit is suitable for closing the corresponding functional module according to the shutdown response time of each shutdown stage.
Optionally, the shutdown configuration unit is adapted to configure, for each shutdown phase, a plurality of function modules that are closed in the shutdown phase, and set a closing sequence of the plurality of function modules.
Optionally, the shutdown configuration unit is adapted to determine a functional module to be shutdown in each shutdown phase according to a function currently executed by the intelligent device.
Optionally, the method further comprises:
and the starting control unit is suitable for responding to a starting instruction, judging whether the intelligent equipment is in a certain shutdown stage, if so, terminating the current shutdown stage and initializing the closed functional module.
Optionally, the method further comprises:
the starting configuration unit is suitable for setting a plurality of starting stages for the intelligent equipment and configuring a function module initialized in the starting stages for each starting stage;
the startup control unit is suitable for initializing corresponding functional modules according to each startup phase if the intelligent device is not in any shutdown phase.
Optionally, the boot configuration unit is adapted to configure a plurality of function modules initialized in the boot phase for each boot phase, and set an initialization sequence of the plurality of function modules.
Optionally, the boot control unit is further adapted to start the functional module immediately after the functional module is initialized successfully, so as to implement a corresponding function.
Optionally, the boot configuration unit is adapted to set a drive of the functional module to be loaded by a BootLoader of the smart device; and/or, the driver of the functional module is suitable for being loaded by a Linux kernel of the intelligent device.
According to a further aspect of the invention, there is provided a computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement a method as in any above.
In view of the above, according to the technical scheme of the present invention, a plurality of shutdown stages are set for the intelligent device, and the functional modules that are closed in the shutdown stages are configured for each shutdown stage, so that when a shutdown instruction is received, the corresponding functional modules can be closed according to each shutdown stage. This technical scheme has realized layering, the staging when the smart machine shuts down to not once only closing all functional modules, making the user be in a state that slowly finishes the smart machine to use, under scenes such as smart machine broadcast music, builds the atmosphere of a lingering sound winding beam for the user, has greatly promoted user experience.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 shows a flow chart of a control method of an intelligent device according to an embodiment of the invention;
fig. 2 is a schematic structural diagram of a control apparatus of an intelligent device according to an embodiment of the present invention;
fig. 3 shows a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 is a flowchart illustrating a control method of an intelligent device according to an embodiment of the present invention. As shown in fig. 1, the method includes:
step S110, setting a plurality of shutdown phases for the intelligent device. Wherein, the smart device can be a mobile phone, a tablet computer, an intelligent story machine and the like.
Step S120, configuring the functional module to be closed in the shutdown phase for each shutdown phase. For example, a list is preset to store the correspondence between the functional modules and the shutdown phase.
Step S130, in response to the shutdown instruction, closing the corresponding functional module according to each shutdown stage. The shutdown instruction can be triggered by hardware such as a knob and a shutdown key, or by menu items in an operating system, and the like.
In the prior art, it is generally considered that the shorter the shutdown time, the better the experience of the user. In fact, as the example mentioned in the background section, in some cases, the user does not want the smart device to be turned off quickly after receiving the power-off command, for example, a music player with a light effect flashes colorful light when playing music, and if the user turns off the music player, the light disappears and the music stops, so that the difference between the front and back atmospheres is significant and the user can easily experience the missing feeling.
As can be seen, in the method shown in fig. 1, a plurality of shutdown stages are set for the intelligent device, and the functional modules that are closed in the shutdown stages are configured for each shutdown stage, so that when a shutdown instruction is received, the corresponding functional modules can be closed according to each shutdown stage. This technical scheme has realized layering, the staging when the smart machine shuts down to not once only closing all functional modules, making the user be in a state that slowly finishes the smart machine to use, under scenes such as smart machine broadcast music, builds the atmosphere of a lingering sound winding beam for the user, has greatly promoted user experience.
In an embodiment of the present invention, the setting a plurality of shutdown phases for the smart device in the method includes: setting corresponding shutdown response time for each shutdown stage; closing the corresponding functional module according to each shutdown stage comprises: and closing the corresponding functional module according to the shutdown response time of each shutdown stage.
For example, the total shutdown duration of the smart device is 20s, the camera module is turned off within 0-5s (the first shutdown phase), the network module is turned off within 5-10s (the second shutdown phase), the sound module is turned off within 10-15s (the third shutdown phase), and the light module is turned off within 15-20s (the fourth shutdown phase). Therefore, even if the corresponding functional module is closed in a certain shutdown stage, the closing execution of other functional modules is not influenced, and the closing of each functional module is completed in a fixed time interval.
In an embodiment of the present invention, in the method, configuring, for each shutdown phase, a functional module that is closed in the shutdown phase includes: configuring a plurality of function modules which are closed in the shutdown stage for each shutdown stage, and setting the closing sequence of the plurality of function modules.
In the above example, each shutdown phase corresponds to one functional module, and actually, one shutdown phase may also correspond to a plurality of functional modules, and the shutdown of the functional modules may be performed in parallel in the corresponding shutdown phase or performed in series in sequence, in which case, the shutdown order of the functional modules may be preset.
In the above embodiment, the shutdown sequence of the custom function module may be actually implemented, for example, if the user wants to shut down the light module first and then shut down the sound module each time, the shutdown phase corresponding to the light module may be before the shutdown phase of the sound module. In fact, besides user-defined and factory preset, the closing sequence of the function modules may also be determined according to the function currently executed by the smart device. That is, in an embodiment of the present invention, in the method, configuring, for each shutdown phase, a functional module that is closed in the shutdown phase includes: and determining the functional modules which are closed in each shutdown stage according to the current functions executed by the intelligent equipment.
For example, when the user plays a local song, the network module may be preferentially turned off, and when the user plays an online song, the turn-off stage of the network module needs to be determined according to the turn-off stage of the sound module.
The above-described embodiments may not only provide a shutdown control mode for gradual shutdown for a user, but also enable fast startup of a smart device. In an embodiment of the present invention, the method further includes: responding to a starting instruction, and judging whether the intelligent equipment is in a certain shutdown stage; if the intelligent device is in a shutdown stage, terminating the current shutdown stage and initializing the closed functional modules.
For example, the intelligent story machine may be used as a toy by a baby, and the turn-on/turn-off knob is frequently turned, so that the intelligent story machine is repeatedly turned on and off. Taking the power on/off mode in the prior art as an example, after the story machine is turned off, each functional module needs to be loaded slowly when the baby starts the machine again, which results in slow start-up, and thus the experience is poor. In this embodiment, in the above scenario, because each functional module is closed according to the shutdown phase when the functional module is shut down, it may happen that some functional modules are not closed yet when the startup instruction is received, and then the functional modules do not need to be closed again at this time, specifically, the current shutdown phase is terminated, and then the subsequent shutdown phase is not executed any more, and the closed functional modules are initialized, so that the functional modules that need to be initialized when the functional module is started up are greatly reduced, and the startup speed is increased.
In an embodiment of the present invention, the method further includes: setting a plurality of starting-up stages for the intelligent equipment; configuring a function module initialized in the starting-up stage for each starting-up stage; and if the intelligent equipment is not in any shutdown stage, initializing the corresponding functional module according to each startup stage.
In this embodiment, a control manner is shown to make the user feel that the booting speed is fast, and actually, the functions of each function module to be initialized by the intelligent device are not necessarily all those that the user can directly perceive, for example, some verification function modules, actually, in order to ensure the stability of the intelligent device. Therefore, for the function modules with the effects that can be obviously perceived by the user, such as the light module, the sound module, and the like, the function modules can be initialized preferentially and started immediately after the initialization is successful, that is, in an embodiment of the present invention, the method further includes: and after the functional module is successfully initialized, immediately starting the functional module to realize the corresponding function.
For example, after the intelligent story machine is started, the light flickers, and then a warning sound is sent out, namely that the user is good friends and xx story machines, because the warning sound is played continuously for a period of time, in the period of time, other functional modules can be initialized according to the starting stage, the attention of the user is attracted by the warning sound, the user is considered to be started, and therefore the user is considered to be started quickly from the sense of sense.
In an embodiment of the present invention, in the method, configuring, for each boot-up phase, a functional module initialized in the boot-up phase includes: configuring a plurality of function modules initialized in the boot-up stage for each boot-up stage, and setting an initialization sequence of the plurality of function modules.
Similar to the setting of the shutdown phase, one startup phase may also correspond to one or more functional modules, and when corresponding to a plurality of functional modules, the startup phase may also be initialized in parallel or in series, and when initializing in series, the initialization sequence may be set.
In an embodiment of the present invention, in the method, configuring, for each boot-up phase, a functional module initialized in the boot-up phase includes: the method comprises the steps of setting a drive of a functional module to be loaded by a BootLoader of the intelligent equipment; and/or setting the driver of the functional module to be loaded by a Linux kernel of the intelligent device.
In the present embodiment, an example of an underlying implementation is given, that is, drivers of functional modules are set to be loaded by different systems. At present, operating systems of many intelligent devices with simpler functions are developed based on a Linux kernel, and a BootLoader is first started before the operating system of the Linux kernel, but in the prior art, drivers of all functional modules are usually loaded in the operating system of the Linux kernel, and in the embodiment, drivers of a part of functional modules, such as drivers of light modules, are loaded in the BootLoader, so that the initialization process of the functional modules is greatly advanced, and the booting speed is further improved.
Fig. 2 is a schematic structural diagram of a control apparatus of an intelligent device according to an embodiment of the present invention. As shown in fig. 2, the control apparatus 200 of the smart device includes:
the shutdown configuration unit 210 is adapted to set a plurality of shutdown phases for the intelligent device, and is adapted to configure, for each shutdown phase, a functional module that is shut down in the shutdown phase. Wherein, the smart device can be a mobile phone, a tablet computer, an intelligent story machine and the like.
The shutdown control unit 220 is adapted to respond to a shutdown instruction and close the corresponding functional module according to each shutdown stage. The shutdown instruction can be triggered by hardware such as a knob and a shutdown key, or by menu items in an operating system, and the like.
In the prior art, it is generally considered that the shorter the shutdown time, the better the experience of the user. In fact, as the example mentioned in the background section, in some cases, the user does not want the smart device to be turned off quickly after receiving the power-off command, for example, a music player with a light effect flashes colorful light when playing music, and if the user turns off the music player, the light disappears and the music stops, so that the difference between the front and back atmospheres is significant and the user can easily experience the missing feeling.
It can be seen that, in the apparatus shown in fig. 2, through the mutual cooperation of the units, a plurality of shutdown stages are set for the intelligent device, and the functional modules that are closed in the shutdown stages are configured for the shutdown stages, so that when a shutdown instruction is received, the corresponding functional modules can be closed according to the shutdown stages. This technical scheme has realized layering, the staging when the smart machine shuts down to not once only closing all functional modules, making the user be in a state that slowly finishes the smart machine to use, under scenes such as smart machine broadcast music, builds the atmosphere of a lingering sound winding beam for the user, has greatly promoted user experience.
In an embodiment of the present invention, in the above apparatus, the shutdown configuration unit 210 is adapted to set a corresponding shutdown response time for each shutdown phase; and the shutdown control unit is suitable for closing the corresponding functional module according to the shutdown response time of each shutdown stage.
For example, the total shutdown duration of the smart device is 20s, the camera module is turned off within 0-5s (the first shutdown phase), the network module is turned off within 5-10s (the second shutdown phase), the sound module is turned off within 10-15s (the third shutdown phase), and the light module is turned off within 15-20s (the fourth shutdown phase). Therefore, even if the corresponding functional module is closed in a certain shutdown stage, the closing execution of other functional modules is not influenced, and the closing of each functional module is completed in a fixed time interval. In an embodiment of the present invention, in the above apparatus, the shutdown configuration unit is adapted to configure, for each shutdown phase, a plurality of function modules that are closed in the shutdown phase, and set a closing sequence of the plurality of function modules.
In the above example, each shutdown phase corresponds to one functional module, and actually, one shutdown phase may also correspond to a plurality of functional modules, and the shutdown of the functional modules may be performed in parallel in the corresponding shutdown phase or performed in series in sequence, in which case, the shutdown order of the functional modules may be preset.
In the above embodiment, the shutdown sequence of the custom function module may be actually implemented, for example, if the user wants to shut down the light module first and then shut down the sound module each time, the shutdown phase corresponding to the light module may be before the shutdown phase of the sound module. In fact, besides user-defined and factory preset, the closing sequence of the function modules may also be determined according to the function currently executed by the smart device. That is, in an embodiment of the present invention, in the apparatus, the shutdown configuration unit is adapted to determine the functional modules that are shut down in each shutdown phase according to the function currently executed by the intelligent device.
For example, when the user plays a local song, the network module may be preferentially turned off, and when the user plays an online song, the turn-off stage of the network module needs to be determined according to the turn-off stage of the sound module.
The above-described embodiments may not only provide a shutdown control mode for gradual shutdown for a user, but also enable fast startup of a smart device. In an embodiment of the present invention, the apparatus further includes: a power-on control unit (not shown) adapted to respond to the power-on command, determine whether the intelligent device is in a power-off stage, and if the intelligent device is in the power-off stage, terminate the current power-off stage and initialize the turned-off functional modules.
For example, the intelligent story machine may be used as a toy by a baby, and the turn-on/turn-off knob is frequently turned, so that the intelligent story machine is repeatedly turned on and off. Taking the power on/off mode in the prior art as an example, after the story machine is turned off, each functional module needs to be loaded slowly when the baby starts the machine again, which results in slow start-up, and thus the experience is poor. In this embodiment, in the above scenario, because each functional module is closed according to the shutdown phase when the functional module is shut down, it may happen that some functional modules are not closed yet when the startup instruction is received, and then the functional modules do not need to be closed again at this time, specifically, the current shutdown phase is terminated, and then the subsequent shutdown phase is not executed any more, and the closed functional modules are initialized, so that the functional modules that need to be initialized when the functional module is started up are greatly reduced, and the startup speed is increased.
In an embodiment of the present invention, the apparatus further includes: a boot configuration unit (not shown) adapted to set a plurality of boot stages for the intelligent device, and to configure a function module initialized in the boot stage for each boot stage; and the starting control unit is suitable for initializing the corresponding functional module according to each starting stage if the intelligent equipment is not in any shutdown stage.
In this embodiment, a control manner is shown to make the user feel that the booting speed is fast, and actually, the functions of each function module to be initialized by the intelligent device are not necessarily all those that the user can directly perceive, for example, some verification function modules, actually, in order to ensure the stability of the intelligent device. Therefore, for the functional modules whose effects can be obviously perceived by the user, such as the light module and the sound module, the initialization can be performed preferentially, and the functional modules are started immediately after the initialization is successful.
For example, after the intelligent story machine is started, the light flickers, and then a warning sound is sent out, namely that the user is good friends and xx story machines, because the warning sound is played continuously for a period of time, in the period of time, other functional modules can be initialized according to the starting stage, the attention of the user is attracted by the warning sound, the user is considered to be started, and therefore the user is considered to be started quickly from the sense of sense.
In an embodiment of the present invention, in the above apparatus, the boot configuration unit is adapted to configure a plurality of functional modules initialized in the boot phase for each boot phase, and set an initialization sequence of the plurality of functional modules.
Similar to the setting of the shutdown phase, one startup phase may also correspond to one or more functional modules, and when corresponding to a plurality of functional modules, the startup phase may also be initialized in parallel or in series, and when initializing in series, the initialization sequence may be set.
In an embodiment of the present invention, in the apparatus, the boot configuration unit is adapted to set the driver of the functional module to be loaded by a BootLoader of the intelligent device; and/or, the driver of the functional module is suitable for being loaded by the Linux kernel of the intelligent device.
In the present embodiment, an example of an underlying implementation is given, that is, drivers of functional modules are set to be loaded by different systems. At present, operating systems of many intelligent devices with simpler functions are developed based on a Linux kernel, and a BootLoader is first started before the operating system of the Linux kernel, but in the prior art, drivers of all functional modules are usually loaded in the operating system of the Linux kernel, and in the embodiment, drivers of a part of functional modules, such as drivers of light modules, are loaded in the BootLoader, so that the initialization process of the functional modules is greatly advanced, and the booting speed is further improved.
In summary, according to the technical solution of the present invention, a plurality of shutdown stages are set for an intelligent device, and a functional module that is closed in the shutdown stage is configured for each shutdown stage, so that when a shutdown instruction is received, a corresponding functional module can be closed according to each shutdown stage. This technical scheme has realized layering, the staging when the smart machine shuts down to not once only closing all functional modules, making the user be in a state that slowly finishes the smart machine to use, under scenes such as smart machine broadcast music, builds the atmosphere of a lingering sound winding beam for the user, has greatly promoted user experience.
It should be noted that:
the algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose devices may be used with the teachings herein. The required structure for constructing such a device will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functions of some or all of the components in a control apparatus of an intelligent device according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
For example, fig. 3 shows a schematic structural diagram of a computer-readable storage medium according to an embodiment of the present invention. The computer readable storage medium 300 stores computer readable program code 310 for performing the steps of the method according to the invention, such as program code readable by a processor of an electronic device, which when executed by the electronic device causes the electronic device to perform the steps of the method described above. The program code may be compressed in a suitable form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The embodiment of the invention discloses A1 and a control method of intelligent equipment, which comprises the following steps:
setting a plurality of shutdown phases for the intelligent equipment;
configuring a functional module which is closed in the shutdown stage for each shutdown stage;
and responding to a shutdown instruction, and closing the corresponding functional module according to each shutdown stage.
A2, the method of A1, wherein the setting the plurality of shutdown phases for the smart device comprises: setting corresponding shutdown response time for each shutdown stage;
the closing of the corresponding functional module according to each shutdown phase includes: and closing the corresponding functional module according to the shutdown response time of each shutdown stage.
A3, the method as in a1, wherein the configuring, for each shutdown phase, the functional module that is shut down in the shutdown phase includes:
configuring a plurality of function modules which are closed in the shutdown stage for each shutdown stage, and setting the closing sequence of the plurality of function modules.
A4, the method as in a1, wherein the configuring, for each shutdown phase, the functional module that is shut down in the shutdown phase includes:
and determining the functional modules which are closed in each shutdown stage according to the currently executed functions of the intelligent equipment.
A5, the method of a1, further comprising:
responding to a starting instruction, and judging whether the intelligent equipment is in a certain shutdown stage;
if the intelligent equipment is in a shutdown stage, terminating the current shutdown stage and initializing the closed functional modules.
A6, the method of a5, further comprising:
setting a plurality of starting-up stages for the intelligent equipment;
configuring a function module initialized in the starting-up stage for each starting-up stage;
and if the intelligent equipment is not in any shutdown stage, initializing corresponding functional modules according to each startup stage.
A7, the method as in a6, wherein the configuring the functional modules initialized in the boot-up phase for each boot-up phase includes:
configuring a plurality of function modules initialized in the boot-up stage for each boot-up stage, and setting an initialization sequence of the plurality of function modules.
A8, the method of a6, further comprising:
and after the functional module is initialized successfully, starting the functional module immediately to realize the corresponding function.
A9, the method as in a6, wherein the configuring the functional modules initialized in the boot-up phase for each boot-up phase includes:
setting the drive of the functional module to be loaded by a BootLoader of the intelligent equipment;
and/or the presence of a gas in the gas,
and setting the drive of the functional module to be loaded by a Linux kernel of the intelligent equipment.
The embodiment of the invention also discloses B10, a control device of intelligent equipment, comprising:
the shutdown configuration unit is suitable for setting a plurality of shutdown stages for the intelligent equipment and configuring a functional module which is closed in the shutdown stages for each shutdown stage;
and the shutdown control unit is suitable for responding to a shutdown instruction and closing the corresponding functional module according to each shutdown stage.
B11, the device of B10, wherein,
the shutdown configuration unit is suitable for setting corresponding shutdown response time for each shutdown stage;
the shutdown control unit is suitable for closing the corresponding functional module according to the shutdown response time of each shutdown stage.
B12, the device of B10, wherein,
the shutdown configuration unit is adapted to configure a plurality of function modules that are closed in the shutdown phase for each shutdown phase, and set a closing sequence of the plurality of function modules.
B13, the device of B10, wherein,
and the shutdown configuration unit is suitable for determining the functional modules which are closed in each shutdown stage according to the currently executed functions of the intelligent equipment.
B14, the apparatus of B10, further comprising:
and the starting control unit is suitable for responding to a starting instruction, judging whether the intelligent equipment is in a certain shutdown stage, if so, terminating the current shutdown stage and initializing the closed functional module.
B15, the apparatus of B14, further comprising:
the starting configuration unit is suitable for setting a plurality of starting stages for the intelligent equipment and configuring a function module initialized in the starting stages for each starting stage;
the startup control unit is suitable for initializing corresponding functional modules according to each startup phase if the intelligent device is not in any shutdown phase.
B16, the device of B15, wherein,
the starting configuration unit is suitable for configuring a plurality of function modules initialized in the starting phase for each starting phase and setting the initialization sequence of the function modules.
B17, the device of B15, wherein,
the starting control unit is also suitable for starting the functional module immediately after the functional module is initialized successfully so as to realize corresponding functions.
B18, the device of B15, wherein,
the starting configuration unit is suitable for setting the drive of the functional module to be loaded by a BootLoader of the intelligent equipment; and/or, the driver of the functional module is suitable for being loaded by a Linux kernel of the intelligent device.
Embodiments of the present invention also disclose C19, a computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method as described in any of a1-a 9.

Claims (17)

1. A control method of an intelligent device comprises the following steps:
setting a plurality of shutdown phases for the intelligent equipment;
configuring a functional module which is closed in the shutdown stage for each shutdown stage;
responding to a shutdown instruction, and closing the corresponding functional module according to each shutdown stage; wherein the content of the first and second substances,
the configuring, for each shutdown phase, a functional module that is shut down within the shutdown phase includes:
determining at least one function module which is closed in each shutdown stage according to the function currently executed by the intelligent equipment;
and determining the closing sequence of the functional modules in each shutdown stage according to the currently executed function of the intelligent device, wherein the module corresponding to the currently executed function does not belong to a first shutdown module.
2. The method of claim 1, wherein the setting the plurality of shutdown phases for the smart device comprises: setting corresponding shutdown response time for each shutdown stage;
the closing of the corresponding functional module according to each shutdown phase includes: and closing the corresponding functional module according to the shutdown response time of each shutdown stage.
3. The method of claim 1, wherein configuring the functional modules for each shutdown phase to be shut down during the shutdown phase comprises:
configuring a plurality of function modules which are closed in the shutdown stage for each shutdown stage, and setting the closing sequence of the plurality of function modules.
4. The method of claim 1, further comprising:
responding to a starting instruction, and judging whether the intelligent equipment is in a certain shutdown stage;
if the intelligent equipment is in a shutdown stage, terminating the current shutdown stage and initializing the closed functional modules.
5. The method of claim 4, further comprising:
setting a plurality of starting-up stages for the intelligent equipment;
configuring a function module initialized in the starting-up stage for each starting-up stage;
and if the intelligent equipment is not in any shutdown stage, initializing corresponding functional modules according to each startup stage.
6. The method of claim 5, wherein configuring the functional modules initialized in the boot-up phase for each boot-up phase comprises:
configuring a plurality of function modules initialized in the boot-up stage for each boot-up stage, and setting an initialization sequence of the plurality of function modules.
7. The method of claim 5, further comprising:
and after the functional module is initialized successfully, starting the functional module immediately to realize the corresponding function.
8. The method of claim 5, wherein configuring the functional modules initialized in the boot-up phase for each boot-up phase comprises:
setting the drive of the functional module to be loaded by a BootLoader of the intelligent equipment;
and/or the presence of a gas in the gas,
and setting the drive of the functional module to be loaded by a Linux kernel of the intelligent equipment.
9. A control apparatus of a smart device, comprising:
the shutdown configuration unit is suitable for setting a plurality of shutdown stages for the intelligent equipment and configuring a functional module which is closed in the shutdown stages for each shutdown stage; wherein the content of the first and second substances,
the configuring, for each shutdown phase, a functional module that is shut down within the shutdown phase includes:
determining at least one function module which is closed in each shutdown stage according to the currently executed function of the intelligent equipment, and determining the closing sequence of the function modules in each shutdown stage according to the currently executed function of the intelligent equipment, wherein the module corresponding to the currently executed function does not belong to a first shutdown module;
and the shutdown control unit is suitable for responding to a shutdown instruction and closing the corresponding functional module according to each shutdown stage.
10. The apparatus of claim 9, wherein,
the shutdown configuration unit is suitable for setting corresponding shutdown response time for each shutdown stage;
the shutdown control unit is suitable for closing the corresponding functional module according to the shutdown response time of each shutdown stage.
11. The apparatus of claim 9, wherein,
the shutdown configuration unit is adapted to configure a plurality of function modules that are closed in the shutdown phase for each shutdown phase, and set a closing sequence of the plurality of function modules.
12. The apparatus of claim 9, further comprising:
and the starting control unit is suitable for responding to a starting instruction, judging whether the intelligent equipment is in a certain shutdown stage, if so, terminating the current shutdown stage and initializing the closed functional module.
13. The apparatus of claim 12, further comprising:
the starting configuration unit is suitable for setting a plurality of starting stages for the intelligent equipment and configuring a function module initialized in the starting stages for each starting stage;
the startup control unit is suitable for initializing corresponding functional modules according to each startup phase if the intelligent device is not in any shutdown phase.
14. The apparatus of claim 13, wherein,
the starting configuration unit is suitable for configuring a plurality of function modules initialized in the starting phase for each starting phase and setting the initialization sequence of the function modules.
15. The apparatus of claim 13, wherein,
the starting control unit is also suitable for starting the functional module immediately after the functional module is initialized successfully so as to realize corresponding functions.
16. The apparatus of claim 13, wherein,
the starting configuration unit is suitable for setting the drive of the functional module to be loaded by a BootLoader of the intelligent equipment; and/or, the driver of the functional module is suitable for being loaded by a Linux kernel of the intelligent device.
17. A computer readable storage medium, wherein the computer readable storage medium stores one or more programs which, when executed by a processor, implement the method of any of claims 1-8.
CN201711485689.1A 2017-12-29 2017-12-29 Control method and device of intelligent equipment and computer readable storage medium Active CN108108195B (en)

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 CN108108195A (en) 2018-06-01
CN108108195B true 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 (6)

* Cited by examiner, † Cited by third party
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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106936996B (en) * 2017-03-10 2019-12-06 Oppo广东移动通信有限公司 Method, device and terminal for sending shutdown broadcast

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
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
CN108108195A (en) 2018-06-01

Similar Documents

Publication Publication Date Title
US7302594B2 (en) Query of bios-stored value to determine user intent at return to active state
WO2017101663A1 (en) Application guiding method and apparatus, and terminal
CN105791948A (en) Method and system for realizing starting video of smart television
CN108600800B (en) Smart television and starting method thereof
TW200818011A (en) Method and apparatus for virtualization of appliances
CN103778211B (en) The language switching method and device of game of mobile terminal software
CN107577472B (en) Software installation method and device and computer readable storage medium
CN106250182B (en) File processing method and device and electronic equipment
WO2016198027A1 (en) Multi-operation event execution method and device
CN108833966A (en) Start-up picture control method, smart machine and computer readable storage medium
CN105740010A (en) Power-on method and terminal equipment
CN108038010A (en) Android system startup stage broadcast transmission method, apparatus and terminal
CN112346739A (en) Remapping method and device of interrupt vector table, microprocessor and electronic device
CN109614156B (en) Method, device and system for supporting driving of starting type external equipment
CN104063247A (en) Application program calling method and system
CN109257652B (en) Configuration information switching method and device, electronic device, system and storage medium
CN108108195B (en) Control method and device of intelligent equipment and computer readable storage medium
CN107357608B (en) Method, device and system for automatically installing operating system
CN107256150A (en) It is a kind of to shorten the method to set up without screen Android device starting up's time
CN105808229A (en) Intelligent terminal and APP processing method thereof
CN114415530A (en) Control method, control device, electronic equipment and storage medium
WO2020069309A1 (en) Systems and methods for providing staged updates in embedded devices
CN114296854B (en) Desktop wallpaper display method and device, electronic equipment and readable storage medium
CN109579222A (en) Control method, air conditioner, controlling terminal and the storage medium of air conditioner
CN115185590A (en) Display control device and method

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